auto-import apr-0.9.4-4 from apr-0.9.4-4.src.rpm

This commit is contained in:
cvsdist 2004-09-09 03:02:46 +00:00
parent 32fc66100e
commit d4c8bf3e51

View File

@ -4,7 +4,7 @@
Summary: Apache Portable Runtime library Summary: Apache Portable Runtime library
Name: apr Name: apr
Version: 0.9.4 Version: 0.9.4
Release: 2.1 Release: 4
License: Apache Software License License: Apache Software License
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://apr.apache.org/ URL: http://apr.apache.org/
@ -13,11 +13,9 @@ Patch0: apr-0.9.3-deplibs.patch
Patch1: apr-0.9.3-config.patch Patch1: apr-0.9.3-config.patch
Patch2: apr-0.9.3-testrand.patch Patch2: apr-0.9.3-testrand.patch
Patch3: apr-0.9.3-noipv6.patch Patch3: apr-0.9.3-noipv6.patch
Patch4: apr-0.9.4-noresolv.patch Patch4: apr-0.9.4-trimlibs.patch
Patch5: apr-0.9.4-tempdir.patch Patch5: apr-0.9.4-pthread.patch
Patch6: apr-0.9.4-gniv4map.patch Patch6: apr-0.9.4-tests.patch
Patch7: apr-0.9.4-cleanups.patch
Patch8: apr-0.9.4-time2038.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildPrereq: autoconf, libtool, doxygen BuildPrereq: autoconf, libtool, doxygen
Conflicts: subversion < 0.20.1-2 Conflicts: subversion < 0.20.1-2
@ -31,7 +29,7 @@ including Unices, MS Win32, BeOS and OS/2.
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: APR library development kit Summary: APR library development kit
Requires: apr = %{version}, libtool Requires: apr = %{version}
Conflicts: subversion-devel < 0.20.1-2 Conflicts: subversion-devel < 0.20.1-2
%description devel %description devel
@ -46,11 +44,9 @@ C data structures and routines.
%patch1 -p1 -b .config %patch1 -p1 -b .config
%patch2 -p1 -b .testrand %patch2 -p1 -b .testrand
%patch3 -p1 -b .noipv6 %patch3 -p1 -b .noipv6
%patch4 -p1 -b .noresolv %patch4 -p1 -b .trimlibs
%patch5 -p1 -b .tempdir %patch5 -p1 -b .pthread
%patch6 -p1 -b .gniv4map %patch6 -p1 -b .tests
%patch7 -p1 -b .cleanups
%patch8 -p1 -b .time2038
# regenerate configure script etc. # regenerate configure script etc.
./buildconf ./buildconf
@ -71,15 +67,16 @@ EOF
CC=gcc CXX=g++ CC=gcc CXX=g++
make %{?_smp_mflags} && make dox make %{?_smp_mflags} && make dox
%ifnarch x86_64
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=97611
%check %check
# Run non-interactive tests # Run non-interactive tests
%ifarch x86_64
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=97611
excludes=testlock
%endif
pushd test pushd test
make %{?_smp_mflags} testall make %{?_smp_mflags} testall
TZ=PST8PDT ./testall -v || exit 1 TZ=PST8PDT ./testall -v ${excludes+-x $excludes} || exit 1
popd popd
%endif
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -131,12 +128,12 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/apr-%{aprver}/*.h %{_includedir}/apr-%{aprver}/*.h
%changelog %changelog
* Mon Jul 19 2004 Joe Orton <jorton@redhat.com> 0.9.4-2.1 * Thu Jan 8 2004 Joe Orton <jorton@redhat.com> 0.9.4-4
- merge fixes for: - ensure that libapr is linked against libpthread
* cleanup structure reuse - don't link libapr against -lnsl
* only do AF_INET reverse lookups of v4-mapped IPv6 addresses
* apr_temp_dir_get() fixes (#128144) * Thu Nov 13 2003 Joe Orton <jorton@redhat.com> 0.9.4-3
* apr_time_exp_get() handling dates in 2038 (Philip Martin) - -devel package no longer requires libtool
* Fri Oct 3 2003 Joe Orton <jorton@redhat.com> 0.9.4-2 * Fri Oct 3 2003 Joe Orton <jorton@redhat.com> 0.9.4-2
- disable tests on x86_64 (#97611) - disable tests on x86_64 (#97611)