SPECS: ttyctrl.spec - define _sbindir to /sbin (to use macro in %f...
darekr
darekr at pld-linux.org
Fri Jul 28 10:26:41 CEST 2006
Author: darekr Date: Fri Jul 28 08:26:41 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- define _sbindir to /sbin (to use macro in %files)
- fix %files - killed dups
---- Files affected:
SPECS:
ttyctrl.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/ttyctrl.spec
diff -u SPECS/ttyctrl.spec:1.4 SPECS/ttyctrl.spec:1.5
--- SPECS/ttyctrl.spec:1.4 Thu Apr 20 19:53:28 2006
+++ SPECS/ttyctrl.spec Fri Jul 28 10:26:35 2006
@@ -18,6 +18,8 @@
Requires: rc-scripts
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _sbindir /sbin
+
%description
When running a server on Linux without keyboard, mouse and monitor, it
is sometimes necessary to excute administrative commands. Tty_ctrl
@@ -65,9 +67,8 @@
%files
%defattr(644,root,root,755)
%doc info.txt readme
-%attr(755,root,root) /sbin/*
+%attr(755,root,root) %{_sbindir}/*
%{_examplesdir}/%{name}-%{version}
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ttyctrl
%attr(754,root,root) /etc/rc.d/init.d/%{name_dash}
#%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name_dash}
@@ -78,6 +79,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2006/07/28 08:26:35 darekr
+- define _sbindir to /sbin (to use macro in %files)
+- fix %files - killed dups
+
Revision 1.4 2006/04/20 17:53:28 glen
- use %service, add chkconfig deps
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ttyctrl.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list