Accepting request 876196 from home:Andreas_Schwab:Factory

- Fix build of utils flavor for usrmerge

OBS-URL: https://build.opensuse.org/request/show/876196
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=582
This commit is contained in:
Andreas Schwab 2021-03-02 10:45:08 +00:00 committed by Git OBS Bridge
parent 63fb16c6c1
commit e4be57d504
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 1 16:43:55 UTC 2021 - Andreas Schwab <schwab@suse.de>
- Fix build of utils flavor for usrmerge
-------------------------------------------------------------------
Thu Feb 18 11:29:12 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -423,6 +423,7 @@ which is highly discouraged.
# makedb requires libselinux. We add this program in a separate
# package so that glibc does not require libselinux.
@ -922,7 +923,11 @@ rm -f %{buildroot}%{slibdir}/ld*.so* %{buildroot}%{slibdir}/lib[!mp]*
%if "%{rtlddir}" != "%{slibdir}"
rm -f %{buildroot}%{rtlddir}/ld*.so*
%endif
%if "%{_libdir}" != "%{slibdir}"
rm -f %{buildroot}%{_libdir}/lib*
%else
rm -f %{buildroot}%{_libdir}/lib*.a
%endif
rm -f %{buildroot}%{_bindir}/{catchsegv,ldd*,sprof}
rm -rf %{buildroot}%{_mandir}/man*
rm -rf %{buildroot}%{rootsbindir} %{buildroot}%{_includedir}