SHA256
1
0
forked from pool/coreutils
Dominique Leuenberger 2020-11-26 22:09:23 +00:00 committed by Git OBS Bridge
commit 843ad1f3ba
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 16 07:26:20 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- prepare usrmerge (boo#1029961)
-------------------------------------------------------------------
Mon Aug 31 07:14:12 UTC 2020 - Bernhard Voelker <mail@bernhard-voelker.de>

View File

@ -68,6 +68,9 @@ BuildRequires: valgrind
%if "%{name}" == "coreutils" || "%{name}" == "coreutils-single"
Provides: fileutils = %{version}
Provides: mktemp = %{version}
%if 0%{?usrmerged}
Provides: /bin/mktemp
%endif
Provides: sh-utils = %{version}
Provides: stat = %{version}
Provides: textutils = %{version}
@ -251,6 +254,7 @@ ln -v lib/parse-datetime.{c,y} .
make install DESTDIR="%buildroot" pkglibexecdir=%{_libdir}/%{name}
#UsrMerge
%if !0%{?usrmerged}
install -d %{buildroot}/bin
for i in arch basename cat chgrp chmod chown cp date dd df echo \
false ln ls mkdir mknod mktemp mv pwd rm rmdir sleep sort stat \
@ -258,6 +262,7 @@ for i in arch basename cat chgrp chmod chown cp date dd df echo \
do
ln -sf %{_bindir}/$i %{buildroot}/bin/$i
done
%endif
#EndUsrMerge
echo '.so man1/test.1' > %{buildroot}/%{_mandir}/man1/\[.1
%if "%{name}" == "coreutils"
@ -294,7 +299,9 @@ rm -rf %{buildroot}%{_datadir}/locale
%doc NEWS README THANKS
%{_bindir}/*
#UsrMerge
%if !0%{?usrmerged}
/bin/*
%endif
#EndUsrMerge
%{_libdir}/%{name}