rpms/pm-utils/devel pm-utils.spec,1.32,1.33

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Apr 25 14:29:28 UTC 2006


Author: pjones

Update of /cvs/dist/rpms/pm-utils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv14967

Modified Files:
	pm-utils.spec 
Log Message:
- ogg smash (update to 0.18-1)



Index: pm-utils.spec
===================================================================
RCS file: /cvs/dist/rpms/pm-utils/devel/pm-utils.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- pm-utils.spec	18 Apr 2006 01:17:54 -0000	1.32
+++ pm-utils.spec	25 Apr 2006 14:29:25 -0000	1.33
@@ -1,7 +1,7 @@
 Name: pm-utils
 Summary: Power management utilities and scripts for Fedora Core
 License: GPL
-Version: 0.17
+Version: 0.18
 Release: 1
 Group: System Environment/Base
 ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64
@@ -71,17 +71,26 @@
 %clean
 %{__rm} -rf $RPM_BUILD_ROOT
 
+%pre
+if [ -f /etc/sysconfig/pm ]; then
+	mkdir -p /etc/pm
+	cp -a /etc/sysconfig/pm /etc/pm/config
+fi
+
 %files
 %defattr(-,root,root)
 /etc/pm
+%config(noreplace) /etc/pm/config
 /etc/security/console.apps/*
 /etc/pam.d/*
-%config(noreplace) /etc/sysconfig/pm
 %{_bindir}/*
 %{_sbindir}/*
 %{_mandir}/man*/*
 
 %changelog
+* Tue Apr 25 2006 Peter Jones <pjones at redhat.com> - 0.18-1
+- Make it work cross-distro
+
 * Mon Apr 17 2006 Peter Jones <pjones at redhat.com> - 0.17-1
 - add more helper functions
 - rework things that were forking an extra subshell




More information about the fedora-cvs-commits mailing list