rpms/spicctrl/devel spicctrl.spec,1.2,1.3

Roozbeh Pournader (roozbeh) fedora-extras-commits at redhat.com
Fri May 19 20:57:30 UTC 2006


Author: roozbeh

Update of /cvs/extras/rpms/spicctrl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32600

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/devel/spicctrl.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- spicctrl.spec	14 Feb 2006 10:05:40 -0000	1.2
+++ spicctrl.spec	19 May 2006 20:57:30 -0000	1.3
@@ -1,6 +1,6 @@
 Name:           spicctrl
 Version:        1.9
-Release:        3%{?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,15 @@
 %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
 




More information about the fedora-extras-commits mailing list