packages: huaweiAktBbo/huaweiAktBbo.spec - use sections for their real dest...

shadzik shadzik at pld-linux.org
Thu Jun 4 23:57:41 CEST 2009


Author: shadzik                      Date: Thu Jun  4 21:57:41 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use sections for their real destination

---- Files affected:
packages/huaweiAktBbo:
   huaweiAktBbo.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/huaweiAktBbo/huaweiAktBbo.spec
diff -u packages/huaweiAktBbo/huaweiAktBbo.spec:1.4 packages/huaweiAktBbo/huaweiAktBbo.spec:1.5
--- packages/huaweiAktBbo/huaweiAktBbo.spec:1.4	Thu Jan  1 16:57:08 2009
+++ packages/huaweiAktBbo/huaweiAktBbo.spec	Thu Jun  4 23:57:36 2009
@@ -39,20 +39,18 @@
 
 %prep
 %setup -q -c -T
-cp %{SOURCE0} .
-cp %{SOURCE1} README.sk.txt
-cp %{SOURCE2} 75-huawei-e220.rules
 
 %build
 
-%{__cc} huaweiAktBbo.c -ohuaweiAktBbo -lusb
+%{__cc} %{SOURCE0} -o %{name} -lusb
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/udev/rules.d}
 
 install huaweiAktBbo $RPM_BUILD_ROOT%{_sbindir}/huaweiAktBbo
-install 75-huawei-e220.rules $RPM_BUILD_ROOT/etc/udev/rules.d/75-huawei-e220.rules
+install %{SOURCE1} README.sk.txt
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/udev/rules.d/75-huawei-e220.rules
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -60,7 +58,7 @@
 %files
 %defattr(644,root,root,755)
 %doc README.sk.txt
-%attr(755,root,root) %{_sbindir}/huaweiAktBbo
+%attr(755,root,root) %{_sbindir}/%{name}
 
 %files udev
 %defattr(644,root,root,755)
@@ -72,6 +70,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2009/06/04 21:57:36  shadzik
+- use sections for their real destination
+
 Revision 1.4  2009/01/01 15:57:08  pawelz
 - Group for -udev subpackage
 - rel 1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/huaweiAktBbo/huaweiAktBbo.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list