Hi,

Steve Dickson wrote on Thu, 26 Oct 2017 14:10:49 -0400:
Hello,

On 10/26/2017 09:57 AM, Steve Dickson wrote:
Hello,

In an upcoming release the libnfsdimap library
will be rolled into the nfs-utils package.
Meaning nfs-utils will be install libnfsidmap 
instead of the libnfsidmap package. 

The libnfsidmap name will stay the same
so I'm hoping there will not be any problems. 
Just the owner of the library will change.

Questions:

1) What do I do with the old libnfsidmap package
   since it will no longer be updated.

2) How do I notify the packages that are dependent
   on the libnfsidmap package to change their dependency
   to nfs-utils

3) Will this cause any build problems now that nfs-utils
   will be installing the new library?

4) What am I missing? 
First of all... thanks for all the input!!! Its definitely appreciated!!

Here is what has been added to the nfs-utils spec file.

Provides: libnfsidmap%{_isa} = %{epoch}:%{version}-%{release}
Provides: libnfsidmap-devel%{_isa} = %{epoch}:%{version}-%{release}

Obsoletes: libnfsidmap < %{version}-%{release}
Obsoletes: libnfsidmap-devel < %{version}-%{release}
As you are actually providing libnfsidmap & libnfsidmap-devel RPM packages, I think there is no need for the above. They were needed if you didn't put libnfsidmap in a separate RPM.
In your case, you are actually providing the same RPM packages, just from a different SRPM. So in the RPM repository, almost nothing is changed (except the name of SRPM which has produced those RPM packages, which has no effect on dependency resolution).



%package -n libnfsidmap
Summary: NFSv4 User and Group ID Mapping Library
Obsoletes: nfs-utils-lib
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: pkgconfig, openldap-devel
BuildRequires: automake, libtool
Requires(postun): /sbin/ldconfig
Requires(pre): /sbin/ldconfig
Requires: openldap

%description -n libnfsidmap
Library that handles mapping between names and ids for NFSv4.

%package -n libnfsidmap-devel
Summary: Development files for the libnfsidmap library
Group: Development/Libraries
Requires: libnfsidmap = %{version}-%{release}
Requires: pkgconfig

%description -n libnfsidmap-devel
This package includes header files and libraries necessary for
developing programs which use the libnfsidmap library.

A couple things are still not right
1) when I do the update of nfs-utils, libnfsidmap and libnfsidmap-devel
   nfs-utils and libnfsidmap are installed correctly but the
   libnfsidmap-devel is "replaced" by nfs-utils:

Upgrading:
 libnfsidmap       x86_64       1:2.2.1-0.fc28         @commandline       102 k
 nfs-utils         x86_64       1:2.2.1-0.fc28         @commandline       413 k
     replacing  libnfsidmap-devel.x86_64 0.27-3.fc27

   which basically ends up remove it.
Because you've said that nfs-utils package provides libnfsidmap-devel too. Actually, I would expect it to also remove libnfsidmap!

Regards,
Hedayat



2) 'dnf downgrade nfs-utils' I'm assuming should also downgrade libnfsidmap
    as well... but only nfs-utils is downgraded. BUT... if a 
    'dnf downgrade libnfsidmap' is done, both libnfsidmap and nfs-utils are downgraded.

3) there no libnfsidmap-debuginfo rpm being built. 

any ideas?? 

tia,

steved.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org