On 16 March 2017 at 16:17, Tomasz Kłoczko <kloczko.tom...@gmail.com> wrote:
> BTW: during checking that current Fedora glibc static binaries are not > ready even solve those well known scenarios I found that already glibc spec > file is generating glibs-nss-devel subpackage. > > S rpm -qpl glibc-nss-devel-2.25.90-1.fc27.x86_64.rpm > /usr/lib64/libnss_compat.so > /usr/lib64/libnss_db.so > /usr/lib64/libnss_dns.so > /usr/lib64/libnss_files.so > /usr/lib64/libnss_hesiod.so > /usr/lib64/libnss_nis.so > /usr/lib64/libnss_nisplus.so > > Looks like someone didn't know that those symlinks are not a devel > symlinks and they are installed by am/ac/lt glibc build suit only because > it was easier to use library build/install method. > Will try to create bugzilla ticket to delete those symlinks in %install, > remove glibc-nss-devel and add it to Obsoletes list. > FTR: above has now opened ticket https://bugzilla.redhat.com/show_bug.cgi?id=1433451 I've added few more minor cleanups as well and someone may find them interesting. Copy of the %changelog entry: * Thu Mar 16 2017 Tomasz Kłoczko <kloc...@fedoraproject.org> - 2.25.90-2 - remove nss-devel subpackage as libnss_*.so are not to shared libraries but loadable modules used by libc. These symlinks are not devel resources - added glibc-nss-devel to main glibc Obsoletes list - other minor cleanups: -- remove Group and Buildroot fields (new packaging policy) -- execute /sbin/ldconfig in %post/%postun of libcrypt and libcrypt-nss over -p switch causes that those packages will not have added "Requires(post): /bin/sh" and "Requires(postun): /bin/sh" and they will straight depends on /sbin/ldconfig -- removed (as not needed) conditional %%if around subpackages preambles and %%post/%%postun scripts (%%if around %%files sections are enough) -- removed %%clean script as rm -rf "$RPM_BUILD_ROOT" removes as well *.filelist* and currently default %%clean is executing "rm -rf $RPM_BUILD_ROOT" -- move all %%post/%%postup under %%install In ticket is attached proposed patch. kloczek -- Tomasz Kłoczko | LinkedIn: *http://lnkd.in/FXPWxH <http://lnkd.in/FXPWxH>*
_______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org