rebuilt with debug package and without sqlite2 [release 1.6.1-3mamba;Mon Dec 07 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 03:47:34 +01:00
parent 15c9aa6689
commit bad58533c6

View File

@ -3,7 +3,7 @@
Name: libaprutil Name: libaprutil
Version: 1.6.1 Version: 1.6.1
Release: 2mamba Release: 3mamba
Epoch: 1 Epoch: 1
Summary: The Apache Portable Runtime (APR) Summary: The Apache Portable Runtime (APR)
Group: System/Libraries Group: System/Libraries
@ -14,30 +14,29 @@ URL: http://apr.apache.org/
Source: http://mirror.nohup.it/apache/apr/apr-util-%{version}.tar.bz2 Source: http://mirror.nohup.it/apache/apr/apr-util-%{version}.tar.bz2
Source2: http://apache.webthing.com/svn/apache/apr/apr_dbd_mysql.c Source2: http://apache.webthing.com/svn/apache/apr/apr_dbd_mysql.c
License: Apache License 2.0 License: Apache License 2.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libapr-devel BuildRequires: libapr-devel
BuildRequires: libdb47-devel BuildRequires: libdb53-devel
BuildRequires: libe2fs-devel
BuildRequires: libexpat-devel BuildRequires: libexpat-devel
BuildRequires: libfreetds-devel
BuildRequires: libgdbm-devel BuildRequires: libgdbm-devel
BuildRequires: libkrb5-devel
BuildRequires: libltdl-devel BuildRequires: libltdl-devel
BuildRequires: libmysqlclient-devel BuildRequires: libmariadb-devel
BuildRequires: libodbc-devel BuildRequires: libodbc-devel
BuildRequires: libopenldap-devel BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: libpostgresql-devel BuildRequires: libpostgresql-devel
BuildRequires: libsasl2-devel BuildRequires: libsasl2-devel
BuildRequires: libsqlite-devel BuildRequires: libsqlite-devel
%if "%{stage1}" != "1"
BuildRequires: libsqlite2-devel
%endif
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Provides: libaprutil1 Provides: libaprutil1
Obsoletes: libaprutil1 Obsoletes: libaprutil1
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations. The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations.
@ -53,8 +52,9 @@ Obsoletes: libaprutil1-devel
%description devel %description devel
The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations. The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations.
The primary goal is to provide an API to which software developers may code and be assured of predictable if not identical behaviour regardless of the platform on which their software is built, relieving them of the need to code special-case conditions to work around or take advantage of platform-specific deficiencies or features. The primary goal is to provide an API to which software developers may code and be assured of predictable if not identical behaviour regardless of the platform on which their software is built, relieving them of the need to code special-case conditions to work around or take advantage of platform-specific deficiencies or features.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development. %debug_package
%prep %prep
%setup -q -n apr-util-%{version} %setup -q -n apr-util-%{version}
@ -68,13 +68,14 @@ install -m 0644 %{SOURCE2} dbd/
--libdir=%{_libdir} \ --libdir=%{_libdir} \
--with-apr=%{_prefix} \ --with-apr=%{_prefix} \
--with-ldap \ --with-ldap \
--with-dbm=db47 \ --with-dbm=db53 \
--with-berkeley-db=%{_includedir} \ --with-berkeley-db=%{_includedir} \
--with-gdbm \ --with-gdbm \
--with-mysql=%{_prefix} \ --with-mysql=%{_prefix} \
--with-pgsql \ --with-pgsql \
--with-sqlite3 \ --with-sqlite3 \
--with-expat=%{_prefix} --with-expat=%{_prefix} \
--without-sqlite2
%make %make
@ -107,12 +108,12 @@ rm -f %{buildroot}%{_libdir}/aprutil.exp
%{_libdir}/apr-util-1/apr_dbd_pgsql.a %{_libdir}/apr-util-1/apr_dbd_pgsql.a
%{_libdir}/apr-util-1/apr_dbd_pgsql.la %{_libdir}/apr-util-1/apr_dbd_pgsql.la
%{_libdir}/apr-util-1/apr_dbd_pgsql.so %{_libdir}/apr-util-1/apr_dbd_pgsql.so
%if "%{stage1}" != "1" #%if "%{stage1}" != "1"
%{_libdir}/apr-util-1/apr_dbd_sqlite2-1.so #%{_libdir}/apr-util-1/apr_dbd_sqlite2-1.so
%{_libdir}/apr-util-1/apr_dbd_sqlite2.a #%{_libdir}/apr-util-1/apr_dbd_sqlite2.a
%{_libdir}/apr-util-1/apr_dbd_sqlite2.la #%{_libdir}/apr-util-1/apr_dbd_sqlite2.la
%{_libdir}/apr-util-1/apr_dbd_sqlite2.so #%{_libdir}/apr-util-1/apr_dbd_sqlite2.so
%endif #%endif
%{_libdir}/apr-util-1/apr_dbd_sqlite3-1.so %{_libdir}/apr-util-1/apr_dbd_sqlite3-1.so
%{_libdir}/apr-util-1/apr_dbd_sqlite3.a %{_libdir}/apr-util-1/apr_dbd_sqlite3.a
%{_libdir}/apr-util-1/apr_dbd_sqlite3.la %{_libdir}/apr-util-1/apr_dbd_sqlite3.la
@ -144,6 +145,9 @@ rm -f %{buildroot}%{_libdir}/aprutil.exp
%{_libdir}/libaprutil-%{aprutilmajver}.so %{_libdir}/libaprutil-%{aprutilmajver}.so
%changelog %changelog
* Mon Dec 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1-3mamba
- rebuilt with debug package and without sqlite2
* Sat Nov 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1-2mamba * Sat Nov 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1-2mamba
- rebuilt with --with-devrandom to fix httpd under libvirt - rebuilt with --with-devrandom to fix httpd under libvirt