SPECS: perl-libapreq.spec - allow building when mp2 is present in ...

glen glen at pld-linux.org
Tue Jul 25 21:43:57 CEST 2006


Author: glen                         Date: Tue Jul 25 19:43:56 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- allow building when mp2 is present in system
- do not pull apache (webserver) deps
- rel 3

---- Files affected:
SPECS:
   perl-libapreq.spec (1.28 -> 1.29) 

---- Diffs:

================================================================
Index: SPECS/perl-libapreq.spec
diff -u SPECS/perl-libapreq.spec:1.28 SPECS/perl-libapreq.spec:1.29
--- SPECS/perl-libapreq.spec:1.28	Thu Feb 16 18:57:55 2006
+++ SPECS/perl-libapreq.spec	Tue Jul 25 21:43:51 2006
@@ -1,4 +1,6 @@
 # $Revision$, $Date$
+# TODO
+# - put headers and .a to -devel
 %include	/usr/lib/rpm/macros.perl
 %define		pnam	libapreq
 %define		pdir	libapreq
@@ -7,18 +9,20 @@
 Summary(pt_BR):	Biblioteca de requisiçoes do Apache
 Name:		perl-libapreq
 Version:	1.33
-Release:	2
+Release:	3
 License:	Apache Software License 1.1
 Group:		Development/Languages/Perl
 Source0:	http://www.apache.org/dist/httpd/%{pdir}/%{pnam}-%{version}.tar.gz
 # Source0-md5:	8ac4296342e637c6faa731dcf9087685
+Patch0:		libapreq-modperl2.patch
 URL:		http://httpd.apache.org/apreq/
 BuildRequires:	apache1-mod_perl-devel >= 1.26-5
 BuildRequires:	perl-Apache-Test >= 1.27-2.3
 BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	perl-mod_perl1 >= 1.25
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildConflicts:	apache-mod_perl
-Requires:	apache1-mod_perl >= 1.26
+Requires:	perl-mod_perl1 >= 1.26
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # remember about libapreq.spec when incrementing version
@@ -37,9 +41,10 @@
 
 %prep
 %setup -q -n %{pnam}-%{version}
+%patch0 -p1
 
 %build
-perl Makefile.PL \
+%{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
 %{__make} \
 	OPTIMIZE="%{rpmcflags}"
@@ -88,6 +93,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.29  2006/07/25 19:43:51  glen
+- allow building when mp2 is present in system
+- do not pull apache (webserver) deps
+- rel 3
+
 Revision 1.28  2006/02/16 17:57:55  glen
 - resolve conflicting build with mod_perl2, rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-libapreq.spec?r1=1.28&r2=1.29&f=u



More information about the pld-cvs-commit mailing list