SPECS: powersave.spec - more cleanups

freetz freetz at pld-linux.org
Wed Oct 12 18:09:05 CEST 2005


Author: freetz                       Date: Wed Oct 12 16:09:05 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more cleanups

---- Files affected:
SPECS:
   powersave.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/powersave.spec
diff -u SPECS/powersave.spec:1.2 SPECS/powersave.spec:1.3
--- SPECS/powersave.spec:1.2	Wed Oct 12 17:58:04 2005
+++ SPECS/powersave.spec	Wed Oct 12 18:09:00 2005
@@ -18,6 +18,7 @@
 Requires(post,preun):	/sbin/chkconfig
 Requires:	%{name}-libs = %{version}-%{release}
 Requires:	acpid
+Requires:	hal >= 0.5.4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -82,6 +83,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -115,15 +117,14 @@
 %dir %{_sysconfdir}/acpi/events.ignore
 %{_sysconfdir}/acpi/events.ignore/events.ignore
 
-#%%attr(754,root,root) /etc/rc.d/init.d/powersaved
+#%%attr(754,root,root) %{_sysconfdir}/rc.d/init.d/powersaved
 
 %attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_sbindir}/powersaved
 %dir %{_libdir}/powersave
 %dir %{_libdir}/powersave/scripts
-%attr(755,root,root) %{_libdir}/powersave/scripts/*
 %attr(755,root,root) %{_libdir}/powersave/do_*
-%{_includedir}/*.h
-%{_sbindir}/powersaved
+%attr(755,root,root) %{_libdir}/powersave/scripts/*
 
 %files libs
 %defattr(644,root,root,755)
@@ -132,8 +133,8 @@
 %files devel
 %defattr(644,root,root,755)
 %{_includedir}/*.h
-%{_libdir}/*.so
 %{_libdir}/*.la
+%{_libdir}/*.so
 
 %files static
 %defattr(644,root,root,755)
@@ -145,6 +146,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/10/12 16:09:00  freetz
+- more cleanups
+
 Revision 1.2  2005/10/12 15:58:04  freetz
 - post template cleanups
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/powersave.spec?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list