SPECS: cups-driver-splix.spec - cleanups, strict internal deps

glen glen at pld-linux.org
Sun Sep 21 15:00:20 CEST 2008


Author: glen                         Date: Sun Sep 21 13:00:20 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cleanups, strict internal deps

---- Files affected:
SPECS:
   cups-driver-splix.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/cups-driver-splix.spec
diff -u SPECS/cups-driver-splix.spec:1.2 SPECS/cups-driver-splix.spec:1.3
--- SPECS/cups-driver-splix.spec:1.2	Sat Sep 20 21:34:10 2008
+++ SPECS/cups-driver-splix.spec	Sun Sep 21 15:00:15 2008
@@ -28,7 +28,7 @@
 %package samsung
 Summary:	Splix Samsung drivers to CUPS
 Group:		Applications
-Requires:	cups-driver-splix = %{version}
+Requires:	%{name} = %{version}-%{release}
 
 %description samsung
 Splix Samsung drivers to CUPS
@@ -36,7 +36,7 @@
 %package xerox
 Summary:	Splix Xerox drivers to CUPS
 Group:		Applications
-Requires:	cups-driver-splix = %{version}
+Requires:	%{name} = %{version}-%{release}
 
 %description xerox
 Splix Xerox drivers to CUPS
@@ -44,13 +44,11 @@
 %package dell
 Summary:	Splix Dell drivers to CUPS
 Group:		Applications
-Requires:	cups-driver-splix = %{version}
+Requires:	%{name} = %{version}-%{release}
 
 %description dell
 Splix Dell drivers to CUPS
 
-
-
 %prep
 %setup -q -n splix-%{version}
 %patch0 -p1
@@ -68,19 +66,17 @@
 install src/rastertospl2 $RPM_BUILD_ROOT%{_cupsfilterdir}
 ## samsung drivers
 install -d $RPM_BUILD_ROOT%{_cupsppddir}/samsung
-cp ppd/{cl{p,x}*,ml*} $RPM_BUILD_ROOT%{_cupsppddir}/samsung
+cp -a ppd/{cl{p,x}*,ml*} $RPM_BUILD_ROOT%{_cupsppddir}/samsung
 ## xerox drivers
 install -d $RPM_BUILD_ROOT%{_cupsppddir}/xerox
-cp ppd/ph* $RPM_BUILD_ROOT%{_cupsppddir}/xerox
+cp -a ppd/ph* $RPM_BUILD_ROOT%{_cupsppddir}/xerox
 ## dell drivers
 install -d $RPM_BUILD_ROOT%{_cupsppddir}/dell
-cp ppd/1100* $RPM_BUILD_ROOT%{_cupsppddir}/dell
+cp -a ppd/1100* $RPM_BUILD_ROOT%{_cupsppddir}/dell
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
-
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog INSTALL README THANKS TODO
@@ -91,7 +87,6 @@
 %dir %{_cupsppddir}/samsung
 %{_cupsppddir}/samsung/*
 
-
 %files xerox
 %defattr(644,root,root,755)
 %dir %{_cupsppddir}/xerox
@@ -102,17 +97,18 @@
 %dir %{_cupsppddir}/dell
 %{_cupsppddir}/dell/*
 
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008/09/21 13:00:15  glen
+- cleanups, strict internal deps
+
 Revision 1.2  2008/09/20 19:34:10  sparky
 - optflags patch
 - pass __cxx and rpm*flags
 
 Revision 1.1  2008/09/20 18:54:34  uzsolt
 - initial
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cups-driver-splix.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list