Bug 5039 - Properly package lockdev (rename development package)
: Properly package lockdev (rename development package)
Status: VERIFIED FIXED
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Fresh
: All Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-02-10 18:41 MSK by Andrey Bondrov
Modified: 2015-02-11 23:39 MSK (History)
3 users (show)

See Also:
RPM Package: lockdev
ISO-related:
Bad POT generating:
Upstream:
vladimir.potapov: qa_verified+
denis.silakov: published+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Bondrov 2015-02-10 18:41:34 MSK
We need to properly package lockdev (rename development package).

Current development package is lib[64]lockdev1-devel but it should be lib[64]lockdev-devel.

For testing please install current development package, then add containers and update.
Comment 1 Andrey Bondrov 2015-02-10 18:42:09 MSK
Advisory: "Properly name development package"

https://abf.rosalinux.ru/build_lists/2423958
https://abf.rosalinux.ru/build_lists/2423959
Comment 2 FirstLevel 2015-02-10 19:33:39 MSK
32bit

OLD
[root@r5-32 ~]# urpmi liblockdev1-devel
    http://mirror.rosalab.ru/rosa/rosa2014.1/repository/i586/media/main/release/liblockdev1-devel-1.0.4-0.120111007git.7-rosa2014.1.i586.rpm
                                                                                                                                                     

устанавливается liblockdev1-devel-1.0.4-0.120111007git.7-rosa2014.1.i586.rpm из /var/cache/urpmi/rpms
Подготовка...                    ###################################################################################################################
      1/1: liblockdev1-devel     ###################################################################################################################
[root@r5-32 ~]# rpm -qa | grep lockdev
liblockdev1-1.0.4-0.120111007git.7-rosa2014.1.i586
lockdev-1.0.4-0.120111007git.7-rosa2014.1.i586
liblockdev1-devel-1.0.4-0.120111007git.7-rosa2014.1.i586
[root@r5-32 ~]# 


Update - OK

NEW

[root@r5-32 ~]# rpm -qa | grep lockdev
liblockdev1-1.0.4-0.120111007git.9-rosa2014.1.i586
liblockdev-devel-1.0.4-0.120111007git.9-rosa2014.1.i586
lockdev-1.0.4-0.120111007git.9-rosa2014.1.i586
[root@r5-32 ~]# 





64bit

[root@r5-64 ~]# urpmi lib64lockdev1-devel
    http://mirror.rosalab.ru/rosa/rosa2014.1/repository/x86_64/media/main/release/lib64lockdev1-devel-1.0.4-0.120111007git.7-rosa2014.1.x86_64.rpm
                                                                                                                                                     

устанавливается lib64lockdev1-devel-1.0.4-0.120111007git.7-rosa2014.1.x86_64.rpm из /var/cache/urpmi/rpms
Подготовка...                    ###################################################################################################################
      1/1: lib64lockdev1-devel   ###################################################################################################################
[root@r5-64 ~]# rpm -qa | grep lockdev
lib64lockdev1-1.0.4-0.120111007git.7-rosa2014.1.x86_64
lockdev-1.0.4-0.120111007git.7-rosa2014.1.x86_64
lib64lockdev1-devel-1.0.4-0.120111007git.7-rosa2014.1.x86_64
[root@r5-64 ~]#


Update - ok

NEW

[root@r5-64 ~]# rpm -qa | grep lockdev
lib64lockdev1-1.0.4-0.120111007git.9-rosa2014.1.x86_64
lockdev-1.0.4-0.120111007git.9-rosa2014.1.x86_64
lib64lockdev-devel-1.0.4-0.120111007git.9-rosa2014.1.x86_64
[root@r5-64 ~]#
Comment 3 FirstLevel 2015-02-10 19:35:22 MSK
I am interesting. Why do You change  lib[64]lockdev1-devel to lib[64]lockdev-devel, but do not change lib[64]lockdev1 to lib[64]lockdev ?
Comment 4 FirstLevel 2015-02-10 19:41:00 MSK
Install lib[64]sec-devel (depends from lib[64]lockdev-devel) goes well
Comment 5 Andrey Bondrov 2015-02-10 20:24:11 MSK
(In reply to comment #3)
> I am interesting. Why do You change  lib[64]lockdev1-devel to
> lib[64]lockdev-devel, but do not change lib[64]lockdev1 to lib[64]lockdev ?

That's our libraries packaging policy:
http://wiki.rosalab.ru/en/index.php/Libraries_policy

liblockdev1 package name is based on files from it:
/usr/lib/liblockdev.so.1*

If ABI changes on version update, files will likely be:
/usr/lib/liblockdev.so.2*

And library name will be liblockdev2. Both liblockdev1 and liblockdev2 can be installed together (it may be needed until we rebuild all packages with liblockdev2).

But files from liblockdev1-devel package don't contain library major version in path:
/usr/include/lockdev.h
/usr/include/ttylock.h
/usr/lib/liblockdev.so
/usr/lib/pkgconfig/lockdev.pc
/usr/share/man/man3/lockdev.3.xz

If we build liblockdev2-devel package in future, it won't replace liblockdev1-devel unless we force it with Obsoletes in spec. Development package name is based on /usr/lib/liblockdev.so filename.
Comment 6 Vladimir Potapov 2015-02-11 21:42:09 MSK
lockdev-1.0.4-0.120111007git.9
http://abf-downloads.rosalinux.ru/rosa2014.1/container/2423958/i586/main/release/
http://abf-downloads.rosalinux.ru/rosa2014.1/container/2423959/x86_64/main/release/
***************************** Advisory *************************
Properly name development package
****************************************************************
QA Verified