rpms/foomatic/devel foomatic-db-engine-perl.patch, NONE, 1.1 foomatic.spec, 1.231, 1.232

Tim Waugh twaugh at fedoraproject.org
Fri Dec 4 09:38:24 UTC 2009


Author: twaugh

Update of /cvs/pkgs/rpms/foomatic/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31522

Modified Files:
	foomatic.spec 
Added Files:
	foomatic-db-engine-perl.patch 
Log Message:
* Fri Dec  4 2009 Tim Waugh <twaugh at redhat.com> - 4.0.3-7
- Fixed installation path for perl module.


foomatic-db-engine-perl.patch:
 configure    |    4 ++--
 configure.ac |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

--- NEW FILE foomatic-db-engine-perl.patch ---
diff -up foomatic-db-engine-4.0.3/configure.ac.perl foomatic-db-engine-4.0.3/configure.ac
--- foomatic-db-engine-4.0.3/configure.ac.perl	2009-12-04 09:26:14.236782616 +0000
+++ foomatic-db-engine-4.0.3/configure.ac	2009-12-04 09:29:08.819781206 +0000
@@ -184,13 +184,13 @@ else
   PREFIX=$prefix
 fi
 echo -n Checking whether Perl will find libraries installed under $PREFIX...
-if ( $PERL -V | egrep "^ *$PREFIX/lib(/perl[[0-9]]?|)(/site_perl|)/[[0-9]]" > /dev/null); then
+if ( $PERL -V | egrep "^ *$PREFIX/lib(/perl[[0-9]]?|)(/site_perl|)" > /dev/null); then
   PERLPREFIX=$PREFIX
   echo " yes"
 else
   echo " no"
   echo -n Checking whether Perl will find libraries installed under /usr/local...
-  if ( $PERL -V | egrep "^ */usr/local/lib(/perl[[0-9]]?|)(/site_perl|)/[[0-9]]" > /dev/null); then
+  if ( $PERL -V | egrep "^ */usr/local/lib(/perl[[0-9]]?|)(/site_perl|)" > /dev/null); then
     PERLPREFIX=/usr/local
     echo " yes"
     echo Installing the Perl libraries with prefix /usr/local.
diff -up foomatic-db-engine-4.0.3/configure.perl foomatic-db-engine-4.0.3/configure
--- foomatic-db-engine-4.0.3/configure.perl	2009-12-04 09:29:12.117906609 +0000
+++ foomatic-db-engine-4.0.3/configure	2009-12-04 09:29:34.709782105 +0000
@@ -4519,13 +4519,13 @@ else
   PREFIX=$prefix
 fi
 echo -n Checking whether Perl will find libraries installed under $PREFIX...
-if ( $PERL -V | egrep "^ *$PREFIX/lib(/perl[0-9]?|)(/site_perl|)/[0-9]" > /dev/null); then
+if ( $PERL -V | egrep "^ *$PREFIX/lib(/perl[0-9]?|)(/site_perl|)" > /dev/null); then
   PERLPREFIX=$PREFIX
   echo " yes"
 else
   echo " no"
   echo -n Checking whether Perl will find libraries installed under /usr/local...
-  if ( $PERL -V | egrep "^ */usr/local/lib(/perl[0-9]?|)(/site_perl|)/[0-9]" > /dev/null); then
+  if ( $PERL -V | egrep "^ */usr/local/lib(/perl[0-9]?|)(/site_perl|)" > /dev/null); then
     PERLPREFIX=/usr/local
     echo " yes"
     echo Installing the Perl libraries with prefix /usr/local.
diff -up foomatic-db-engine-4.0.3/Makefile.in.perl foomatic-db-engine-4.0.3/Makefile.in


Index: foomatic.spec
===================================================================
RCS file: /cvs/pkgs/rpms/foomatic/devel/foomatic.spec,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -p -r1.231 -r1.232
--- foomatic.spec	4 Dec 2009 02:54:40 -0000	1.231
+++ foomatic.spec	4 Dec 2009 09:38:24 -0000	1.232
@@ -4,7 +4,7 @@
 Summary: Database of printers and printer drivers
 Name:		foomatic
 Version:	%{enginever}
-Release:    6%{?dist}
+Release:    7%{?dist}
 License:	GPLv2+
 Group: System Environment/Libraries
 
@@ -28,6 +28,9 @@ Patch101: foomatic-db-engine-libdir.patc
 # Handle non-UTF-8 encodings in imported PPD files.
 Patch102: foomatic-bad-utf8.patch
 
+# Fixed installation path for perl module.
+Patch103: foomatic-db-engine-perl.patch
+
 ## PATCHES FOR FOOMATIC-DB-HPIJS (PATCHES 201 TO 300)
 
 Url:		http://www.linuxprinting.org
@@ -79,6 +82,7 @@ pushd foomatic-db-engine-%{enginever}
 chmod a+x mkinstalldirs
 %patch101 -p1 -b .libdir
 %patch102 -p1
+%patch103 -p1 -b .perl
 aclocal
 autoconf
 popd
@@ -156,6 +160,9 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
 %{_var}/cache/foomatic
 
 %changelog
+* Fri Dec  4 2009 Tim Waugh <twaugh at redhat.com> - 4.0.3-7
+- Fixed installation path for perl module.
+
 * Fri Dec  4 2009 Stepan Kasal <skasal at redhat.com> - 4.0.3-6
 - rebuild against perl 5.10.1
 




More information about the fedora-extras-commits mailing list