rpms/spicctrl/FC-4 spicctrl.spec,1.1,1.2

Roozbeh Pournader (roozbeh) fedora-extras-commits at redhat.com
Tue Jun 6 20:10:51 UTC 2006


Author: roozbeh

Update of /cvs/extras/rpms/spicctrl/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21868

Modified Files:
	spicctrl.spec 
Log Message:
* Sat May 20 2006 Roozbeh Pournader <roozbeh at farsiweb.info> 1.9-4
- Respect $RPM_OPT_FLAGS (also fixes debuginfo), use correct
  man page permissions (Ville Skyttä)



Index: spicctrl.spec
===================================================================
RCS file: /cvs/extras/rpms/spicctrl/FC-4/spicctrl.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- spicctrl.spec	31 Jan 2006 19:03:38 -0000	1.1
+++ spicctrl.spec	6 Jun 2006 20:10:51 -0000	1.2
@@ -1,6 +1,6 @@
 Name:           spicctrl
 Version:        1.9
-Release:        2%{?dist}
+Release:        4%{?dist}
 Summary:        Sony Vaio laptop SPIC control program
 
 Group:          Applications/System
@@ -19,6 +19,7 @@
 
 %prep
 %setup -q
+%{__sed} -i 's/ -O2 / $(RPM_OPT_FLAGS) /' Makefile
 
 
 %build
@@ -29,8 +30,8 @@
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT%{_sbindir}
 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
-install spicctrl $RPM_BUILD_ROOT%{_sbindir}
-install spicctrl.1 $RPM_BUILD_ROOT%{_mandir}/man1
+install -p -m755 spicctrl $RPM_BUILD_ROOT%{_sbindir}
+install -p -m644 spicctrl.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 
 %clean
@@ -55,10 +56,18 @@
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS CHANGES LICENSE
+%{_sbindir}/spicctrl
 %{_mandir}/man1/spicctrl.1.gz
-%attr(0755,root,root) /usr/sbin/spicctrl
+
 
 %changelog
+* Sat May 20 2006 Roozbeh Pournader <roozbeh at farsiweb.info> 1.9-4
+- Respect $RPM_OPT_FLAGS (also fixes debuginfo), use correct
+  man page permissions (Ville Skyttä)
+
+* Tue Feb 14 2006 Roozbeh Pournader <roozbeh at farsiweb.info> 1.9-3
+- Rebuild for Fedora Extras 5
+
 * Tue Jan 31 2006 Roozbeh Pournader <roozbeh at farsiweb.info> 1.9-2
 - Bumped release to a proper integer
 




More information about the scm-commits mailing list