packages: gnokii/gnokii.spec - no cd, use make -C; keep files mtime

glen glen at pld-linux.org
Sat May 12 12:48:47 CEST 2012


Author: glen                         Date: Sat May 12 10:48:47 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- no cd, use make -C; keep files mtime

---- Files affected:
packages/gnokii:
   gnokii.spec (1.140 -> 1.141) 

---- Diffs:

================================================================
Index: packages/gnokii/gnokii.spec
diff -u packages/gnokii/gnokii.spec:1.140 packages/gnokii/gnokii.spec:1.141
--- packages/gnokii/gnokii.spec:1.140	Sat May 12 12:01:12 2012
+++ packages/gnokii/gnokii.spec	Sat May 12 12:48:42 2012
@@ -10,7 +10,7 @@
 %bcond_without	usb		# build without USB support (for DKU2 cables)
 %bcond_without	pcsc		# build without PC/SC Lite support (for Smart Card readers)
 %bcond_without	x11		# build without x11
-#
+
 Summary:	Linux/Unix tool suite for mobile phones
 Summary(pl.UTF-8):	Linuksowy/uniksowy zestaw narzędzi dla telefonów komórkowych
 Name:		gnokii
@@ -213,22 +213,20 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-cd xgnokii
-%{__make} install \
+%{__make} -C xgnokii install \
 	DESTDIR=$RPM_BUILD_ROOT
-cd ..
 
-install Docs/sample/gnokiirc $RPM_BUILD_ROOT%{_sysconfdir}/gnokiirc
+cp -p Docs/sample/gnokiirc $RPM_BUILD_ROOT%{_sysconfdir}/gnokiirc
 
 install -d $RPM_BUILD_ROOT%{_datadir}/xgnokii/xpm
-install xgnokii/xpm/* $RPM_BUILD_ROOT%{_datadir}/xgnokii/xpm/
+cp -p xgnokii/xpm/* $RPM_BUILD_ROOT%{_datadir}/xgnokii/xpm
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
-install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
-install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/smsd
-install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/smsd
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/smsd
+install -p %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/smsd
 
-# do not complain about unpackaged files (we package them with %%doc anyway)
+# do not complain about unpackaged files (we package them with %doc anyway)
 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
 rm -f $RPM_BUILD_ROOT%{_libdir}/smsd/*.{la,a}
 
@@ -326,6 +324,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.141  2012/05/12 10:48:42  glen
+- no cd, use make -C; keep files mtime
+
 Revision 1.140  2012/05/12 10:01:12  blekot
 - updated to 0.6.31
 - removed double --enabled-security in configure
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/gnokii/gnokii.spec?r1=1.140&r2=1.141



More information about the pld-cvs-commit mailing list