From: Elan Ruusamäe Date: Sun, 10 Dec 2017 21:46:28 +0000 (+0200) Subject: drop deprecated run-parts.sh X-Git-Tag: auto/th/rc-scripts-0.4.16-2 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=b86129360cf09862b48939d2300ac305ab9b77cb;hp=87f240d4ac284cc4881f34d89efcd8082cd22ab2;p=packages%2Frc-scripts.git drop deprecated run-parts.sh --- diff --git a/rc-scripts.spec b/rc-scripts.spec index d59fa82..f439f83 100644 --- a/rc-scripts.spec +++ b/rc-scripts.spec @@ -11,7 +11,7 @@ Summary(pl.UTF-8): inittab i skrypty startowe z katalogu /etc/rc.d Summary(tr.UTF-8): inittab ve /etc/rc.d dosyaları Name: rc-scripts Version: 0.4.16 -Release: 1 +Release: 2 License: GPL v2 Group: Base #Source0: ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz @@ -169,6 +169,9 @@ install -d $RPM_BUILD_ROOT/var/{run/netreport,log} \ DESTDIR=$RPM_BUILD_ROOT \ %{!?with_static:ppp_watch_LDADD="$(pkg-config --libs glib-2.0)" ppp_watch_DEPENDENCIES=} +# deprecated shell version +%{__rm} $RPM_BUILD_ROOT%{_bindir}/run-parts.sh + for i in 0 1 2 3 4 5 6; do install -d $RPM_BUILD_ROOT/etc/rc.d/rc$i.d done @@ -436,6 +439,4 @@ done %files -n run-parts %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/run-parts -# deprecated shell version, packaged for quick fix if something broken. will be dropped soon -%attr(755,root,root) %{_bindir}/run-parts.sh %{_mandir}/man8/run-parts.8*