SPECS: apr-compat.spec - compat spec with the same functionality as apr.spe...

arekm arekm at pld-linux.org
Sun Feb 22 15:22:53 CET 2009


Author: arekm                        Date: Sun Feb 22 14:22:53 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- compat spec with the same functionality as apr.spec but for kernels < 2.6.27. Use one of these.

---- Files affected:
SPECS:
   apr-compat.spec (1.75 -> 1.76) 

---- Diffs:

================================================================
Index: SPECS/apr-compat.spec
diff -u SPECS/apr-compat.spec:1.75 SPECS/apr-compat.spec:1.76
--- SPECS/apr-compat.spec:1.75	Sun Feb 22 13:26:27 2009
+++ SPECS/apr-compat.spec	Sun Feb 22 15:22:48 2009
@@ -1,37 +1,32 @@
 # $Revision$, $Date$
+# This spec is for kernels < 2.6.27 since apr.spec uses new features
 Summary:	Apache Portable Runtime
 Summary(pl.UTF-8):	Apache Portable Runtime - przenośna biblioteka uruchomieniowa
-Name:		apr
+Name:		apr-compat
 Version:	1.3.3
-Release:	6
+Release:	1
 Epoch:		1
 License:	Apache v2.0
 Group:		Libraries
-Source0:	http://www.apache.org/dist/apr/%{name}-%{version}.tar.bz2
+Source0:	http://www.apache.org/dist/apr/apr-%{version}.tar.bz2
 # Source0-md5:	2090c21dee4f0eb1512604127dcd158f
-Patch0:		%{name}-link.patch
-Patch1:		%{name}-metuxmpm.patch
-Patch2:		%{name}-libtool.patch
-Patch3:		%{name}-bug-46425.patch
+Patch0:		apr-link.patch
+Patch1:		apr-metuxmpm.patch
+Patch2:		apr-libtool.patch
 URL:		http://apr.apache.org/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
-%if "%{pld_release}" != "ac"
 BuildRequires:	libtool >= 2:2.2
-%else
-BuildRequires:	libtool
-%endif
 BuildRequires:	libuuid-devel
 BuildRequires:	python
 BuildRequires:	rpm >= 4.4.9-56
 BuildRequires:	rpm-pythonprov
 BuildRequires:	sed >= 4.0
-%if "%{pld_release}" != "ac"
-BuildRequires:	uname(release) >= 2.6.23
-Requires:	uname(release) >= 2.6.23
-%endif
+BuildRequires:	uname(release) >= 2.6
+Requires:	uname(release) >= 2.6
 Conflicts:	kernel24
 Conflicts:	kernel24-smp
+Provides:	apr = %{epoch}:%{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_includedir	/usr/include/apr
@@ -64,13 +59,10 @@
 Group:		Development/Libraries
 Requires:	%{name} = %{epoch}:%{version}-%{release}
 Requires:	automake
-%if "%{pld_release}" != "ac"
 Requires:	libtool >= 2:2.2
-%else
-Requires:	libtool
-%endif
 Requires:	libuuid-devel
 Requires:	python-modules
+Provides:	apr-devel = %{epoch}:%{version}-%{release}
 
 %description devel
 Header files and development documentation for apr.
@@ -83,6 +75,7 @@
 Summary(pl.UTF-8):	Statyczna biblioteka apr
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+Provides:	apr-static = %{epoch}:%{version}-%{release}
 
 %description static
 Static apr library.
@@ -91,11 +84,10 @@
 Statyczna biblioteka apr.
 
 %prep
-%setup -q
+%setup -q -n apr-%{version}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p0
 
 cat >> config.layout <<'EOF'
 <Layout PLD>
@@ -187,6 +179,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.76  2009/02/22 14:22:48  arekm
+- compat spec with the same functionality as apr.spec but for kernels < 2.6.27. Use one of these.
+
 Revision 1.75  2009/02/22 12:26:27  arekm
 - rel 6; make sure 2.6.23+ is used (for new *CLOEXEC api support)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/apr-compat.spec?r1=1.75&r2=1.76&f=u



More information about the pld-cvs-commit mailing list