rpms/apr/devel apr-1.2.9-openlfs.patch,NONE,1.1 apr.spec,1.69,1.70

Joe Orton (jorton) fedora-extras-commits at redhat.com
Fri Aug 31 21:08:11 UTC 2007


Author: jorton

Update of /cvs/extras/rpms/apr/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28273

Modified Files:
	apr.spec 
Added Files:
	apr-1.2.9-openlfs.patch 
Log Message:
* Fri Aug 31 2007 Joe Orton <jorton at redhat.com> 1.2.9-3
- fix API/ABI of 32-bit builds (#254241)


apr-1.2.9-openlfs.patch:

--- NEW FILE apr-1.2.9-openlfs.patch ---
--- apr-1.2.9/configure.in.openlfs
+++ apr-1.2.9/configure.in
@@ -448,7 +448,7 @@ void main(void)
 
     if (sizeof(off64_t) != 8 || sizeof(off_t) != 4)
        exit(1);
-    if ((fd = open("conftest.lfs", O_LARGEFILE|O_CREAT|O_WRONLY)) < 0)
+    if ((fd = open("conftest.lfs", O_LARGEFILE|O_CREAT|O_WRONLY, 0600)) < 0)
        exit(2);
     if (ftruncate64(fd, off) != 0)
        ret = 3;


Index: apr.spec
===================================================================
RCS file: /cvs/extras/rpms/apr/devel/apr.spec,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- apr.spec	21 Aug 2007 11:24:39 -0000	1.69
+++ apr.spec	31 Aug 2007 21:07:37 -0000	1.70
@@ -6,7 +6,7 @@
 Summary: Apache Portable Runtime library
 Name: apr
 Version: 1.2.9
-Release: 2
+Release: 3
 License: ASL 2.0
 Group: System Environment/Libraries
 URL: http://apr.apache.org/
@@ -60,6 +60,7 @@
         --includedir=%{_includedir}/apr-%{aprver} \
         --with-installbuilddir=%{_libdir}/apr-%{aprver}/build \
         --with-devrandom=/dev/urandom
+
 make %{?_smp_mflags}
 
 %install
@@ -84,6 +85,8 @@
 rm -f $RPM_BUILD_ROOT%{_libdir}/apr.exp \
       $RPM_BUILD_ROOT%{_libdir}/libapr-*.a
 
+%check
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -111,6 +114,9 @@
 %{_includedir}/apr-%{aprver}/*.h
 
 %changelog
+* Fri Aug 31 2007 Joe Orton <jorton at redhat.com> 1.2.9-3
+- fix API/ABI of 32-bit builds (#254241)
+
 * Tue Aug 21 2007 Joe Orton <jorton at redhat.com> 1.2.9-2
 - fix License
 




More information about the fedora-extras-commits mailing list