[packages/rc-scripts] drop deprecated run-parts.sh

glen glen at pld-linux.org
Mon Dec 11 09:10:21 CET 2017


commit b86129360cf09862b48939d2300ac305ab9b77cb
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Dec 10 23:46:28 2017 +0200

    drop deprecated run-parts.sh

 rc-scripts.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
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*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rc-scripts.git/commitdiff/b86129360cf09862b48939d2300ac305ab9b77cb



More information about the pld-cvs-commit mailing list