[packages/freeipmi] initscript should be executable to be any use
glen
glen at pld-linux.org
Fri Dec 11 17:24:54 CET 2015
commit b93ce681b93fa21648d1cdbc09304958acbf901d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Dec 11 18:24:49 2015 +0200
initscript should be executable to be any use
freeipmi.spec | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/freeipmi.spec b/freeipmi.spec
index f96ed41..595e790 100644
--- a/freeipmi.spec
+++ b/freeipmi.spec
@@ -1,5 +1,5 @@
# TODO
-# - PLDize/register init scripts
+# - PLDize/register init scripts, register/deregister with chkconfig
# - split based on provided spec.in: devel, fish, utils ?
# still not sure about how to split packages. move -libs to main
# and programs to -utils? or leave as it is? (but package init.d
@@ -19,7 +19,6 @@ Source0: http://ftp.gnu.org/gnu/freeipmi/%{name}-%{version}.tar.gz
URL: http://www.gnu.org/software/freeipmi/
BuildRequires: autoconf >= 2.57
BuildRequires: automake >= 1:1.9
-BuildRequires: grep
BuildRequires: guile-devel
BuildRequires: libgcrypt-devel
BuildRequires: libtool
@@ -156,7 +155,7 @@ rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
mv $RPM_BUILD_ROOT/etc/init.d/* $RPM_BUILD_ROOT/etc/rc.d/init.d
# TODO: patch Makefile.am instead
-%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/freeipmi
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -254,8 +253,8 @@ rm -rf $RPM_BUILD_ROOT
%files bmc-watchdog
%defattr(644,root,root,755)
-%config(noreplace) /etc/rc.d/init.d/bmc-watchdog
-%config(noreplace) /etc/sysconfig/bmc-watchdog
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bmc-watchdog
+%attr(754,root,root) %config(noreplace) /etc/rc.d/init.d/bmc-watchdog
%attr(755,root,root) %{_sbindir}/bmc-watchdog
%{_mandir}/man8/bmc-watchdog.8*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/freeipmi.git/commitdiff/b93ce681b93fa21648d1cdbc09304958acbf901d
More information about the pld-cvs-commit
mailing list