From f218df523bdf07ffc9df062b6e702366c94005532946ba0b05339cea2c21dd80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 3 Nov 2014 13:04:24 +0000 Subject: [PATCH] Accepting request 259149 from home:dimstar:branches:Base:System - Keep /bin/fillup as a symlink in the package: there are hundreds of RPMs out there referencing it in the %post scriptlets, when any of the %*fillup* macros was used. Even updating the macro will not make the existing RPMs magically be fixed. OBS-URL: https://build.opensuse.org/request/show/259149 OBS-URL: https://build.opensuse.org/package/show/Base:System/fillup?expand=0&rev=21 --- fillup.changes | 8 ++++++++ fillup.spec | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/fillup.changes b/fillup.changes index c3afbcb..079131d 100644 --- a/fillup.changes +++ b/fillup.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Oct 31 12:02:57 UTC 2014 - dimstar@opensuse.org + +- Keep /bin/fillup as a symlink in the package: there are hundreds + of RPMs out there referencing it in the %post scriptlets, when + any of the %*fillup* macros was used. Even updating the macro + will not make the existing RPMs magically be fixed. + ------------------------------------------------------------------- Sun Oct 26 09:10:04 UTC 2014 - tchvatal@suse.com diff --git a/fillup.spec b/fillup.spec index 9240796..9bf22e3 100644 --- a/fillup.spec +++ b/fillup.spec @@ -58,11 +58,19 @@ install -m 755 BIN/fillup %{buildroot}/%{_bindir} install -d %{buildroot}/%{_mandir}/man8 install -m 644 SGML/fillup.8.gz %{buildroot}/%{_mandir}/man8 +#UsrMerge - There are literally hundreds of rpm scritps referencing /bin/fillup (suse macro) +# So let's at least keep the symlink there for now (DimStar - 2014-10-31) +install -d -m 755 $RPM_BUILD_ROOT/bin +ln -sf %{_bindir}/fillup $RPM_BUILD_ROOT/bin +#EndUserMerge + %check make %{?_smp_mflags} test OPTISPLUS="%{optflags}" %files %defattr(-,root,root) +# rpm scriptlets still use this, based on %*fillup* macros +/bin/fillup %{_bindir}/fillup %{_mandir}/man8/fillup*