Browse Source

apr-1.6.5-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11916 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 5 years ago
parent
commit
9f82053d85
1 changed files with 15 additions and 3 deletions
  1. 15 3
      a/apr/apr-vl.spec

+ 15 - 3
a/apr/apr-vl.spec

@@ -6,7 +6,7 @@
 Name: apr
 Summary: Apache Portable Runtime library
 Summary(ja): Apache ポータブルランタイムライブラリ
-Version: 1.5.2
+Version: 1.6.5
 Release: 1%{?_dist_release}
 
 Group: System Environment/Libraries
@@ -18,7 +18,7 @@ Distribution: Vine Linux
 
 Source0: %{name}-%{version}.tar.bz2
 Source1: apr-wrapper.h
-Patch2: apr-0.9.7-deepbind.patch
+Patch1: apr-1.6.3-r1834495.patch
 Patch3: apr-1.2.2-locktimeout.patch
 Patch4: apr-1.2.2-libdir.patch
 Patch5: apr-1.3.3-pkgconf.patch
@@ -26,6 +26,9 @@ Patch5: apr-1.3.3-pkgconf.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: autoconf, libtool, python, doxygen
 BuildRequires: libuuid-devel
+# To enable SCTP support
+BuildRequires: lksctp-tools-devel
+
 Conflicts: subversion < 0.20.1-2
 Obsoletes: apache2-apr
 
@@ -51,7 +54,7 @@ C data structures and routines.
 
 %prep
 %setup -q
-%patch2 -p1 -b .deepbind
+%patch1 -p1 -b .r1834495
 %patch3 -p1 -b .locktimeout
 %patch4 -p1 -b .libdir
 %patch5 -p1 -b .pkgconf
@@ -109,6 +112,10 @@ if grep 'define SIZEOF_VOIDP 4' include/apr.h \
   : LFS support not present in 32-bit build
   exit 1
 fi
+pushd test
+  make %{?_smp_mflags}
+  ./testall -v -q
+popd
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -137,6 +144,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/apr-%{aprver}/*.h
 
 %changelog
+* Sun Nov 18 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.5-1
+- updated to 1.6.5.
+- dropped Patch2.
+- imported Patch1 from rawhide.
+
 * Mon May 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.2-1
 - updated to 1.5.2.