]> git.pld-linux.org Git - packages/rc-scripts.git/blobdiff - rc-scripts.spec
- drop fstab-decode man page too
[packages/rc-scripts.git] / rc-scripts.spec
index 846de548215b514a053d6ab4c2aca77856938076..5ba09bbe2459f877e7885b01ef0643b8684b6498 100644 (file)
@@ -9,12 +9,13 @@ 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.5.1
-Release:       3
+Release:       6
 License:       GPL v2
 Group:         Base
 Source0:       ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz
 # Source0-md5: 00d0cbd7bb54c89fed07ebce20a4a0b7
 Source1:       rc-scripts-systemd-tmpfiles.d.conf
+Source2:       rc-local.service
 URL:           http://svn.pld-linux.org/trac/svn/wiki/packages/rc-scripts
 Patch0:                %{name}-svn.patch
 BuildRequires: autoconf
@@ -38,13 +39,14 @@ Requires:   /bin/gettext
 Requires:      /bin/nice
 Requires:      /bin/ps
 Requires:      SysVinit
+Requires:      SysVinit-tools >= 2.88-1
 Requires:      blockdev
 Requires:      coreutils
 Requires:      ethtool
 %if "%{pld_release}" == "ac"
 Requires:      filesystem >= 3.0-11
 %else
-Requires:      filesystem >= 3.0-35
+Requires:      filesystem >= 4.0-1
 %endif
 Requires:      findutils
 Requires:      fsck
@@ -139,6 +141,10 @@ install -d $RPM_BUILD_ROOT/etc/sysconfig/hwprofiles
        DESTDIR=$RPM_BUILD_ROOT \
        %{!?with_static:ppp_watch_LDADD="$(pkg-config --libs glib-2.0)" ppp_watch_DEPENDENCIES=}
 
+# now part of SysVinit-tools
+%{__rm} $RPM_BUILD_ROOT%{_sbindir}/fstab-decode \
+       $RPM_BUILD_ROOT%{_mandir}/man8/fstab-decode.8*
+
 for i in 0 1 2 3 4 5 6; do
        install -d $RPM_BUILD_ROOT/etc/rc.d/rc$i.d
 done
@@ -182,7 +188,9 @@ done
 # make /etc/init.d symlink relative
 ln -nfs rc.d/init.d $RPM_BUILD_ROOT/etc/init.d
 
+# systemd
 install -D %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/rc-scripts.conf
+install -D %{SOURCE2} $RPM_BUILD_ROOT/lib/systemd/system/rc-local.service
 
 %if "%{pld_release}" == "ac"
 rm -rf $RPM_BUILD_ROOT/etc/init
@@ -285,7 +293,6 @@ mv -f /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/interfaces
 %attr(755,root,root) %{_bindir}/usleep
 
 %attr(755,root,root) %{_sbindir}/consoletype
-%attr(755,root,root) %{_sbindir}/fstab-decode
 %attr(755,root,root) %{_sbindir}/genhostid
 %attr(755,root,root) %{_sbindir}/getkey
 %attr(755,root,root) %{_sbindir}/hwprofile
@@ -305,6 +312,7 @@ mv -f /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/interfaces
 %attr(755,root,root) /lib/firmware/firmware-loader.sh
 
 /usr/lib/tmpfiles.d/rc-scripts.conf
+/lib/systemd/system/rc-local.service
 
 %dir /lib/rc-scripts
 %attr(755,root,root) /lib/rc-scripts/ifdown-br
This page took 0.036129 seconds and 4 git commands to generate.