Accepting request 509302 from home:jengelh:branches:Apache

- Replace vision statement in %description with feature list.
  Fix RPM groups.
- Drop --with-pic which is only useful for static libs.

OBS-URL: https://build.opensuse.org/request/show/509302
OBS-URL: https://build.opensuse.org/package/show/Apache/apr?expand=0&rev=3
This commit is contained in:
Kristyna Streitova 2017-07-14 08:09:27 +00:00 committed by Git OBS Bridge
parent 633591f4ec
commit 2cfd32e0e1
2 changed files with 29 additions and 36 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jul 10 21:54:38 UTC 2017 - jengelh@inai.de
- Replace vision statement in %description with feature list.
Fix RPM groups.
- Drop --with-pic which is only useful for static libs.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 22 11:33:58 UTC 2017 - mpluskal@suse.com Thu Jun 22 11:33:58 UTC 2017 - mpluskal@suse.com

View File

@ -25,7 +25,7 @@ Version: 1.6.2
Release: 0 Release: 0
Summary: Apache Portable Runtime (APR) Library Summary: Apache Portable Runtime (APR) Library
License: Apache-2.0 License: Apache-2.0
Group: Development/Libraries/Other Group: Development/Libraries/C and C++
Url: https://apr.apache.org/ Url: https://apr.apache.org/
Source0: https://www.apache.org/dist/apr/apr-%{version}.tar.bz2 Source0: https://www.apache.org/dist/apr/apr-%{version}.tar.bz2
Source1: https://www.apache.org/dist/apr/apr-%{version}.tar.bz2.asc Source1: https://www.apache.org/dist/apr/apr-%{version}.tar.bz2.asc
@ -46,54 +46,41 @@ BuildRequires: python
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
The mission of the Apache Portable Runtime (APR) project is to create APR is Apache's Portable Runtime Library, designed to be a support
and maintain software libraries that provide a predictable and library that provides a predictable and consistent interface to
consistent interface to underlying platform-specific implementations. 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 APR is used by both Open Source and Commercial projects, prominent
examples being the Apache HTTP server.
%package -n %{libname} %package -n %{libname}
Summary: Apache Portable Runtime (APR) Library Summary: Apache Portable Runtime (APR) Library
Group: System/Libraries Group: System/Libraries
%description -n %{libname} %description -n %{libname}
The mission of the Apache Portable Runtime (APR) project is to create APR is Apache's Portable Runtime Library, designed to be a support
and maintain software libraries that provide a predictable and library that provides a predictable and consistent interface to
consistent interface to underlying platform-specific implementations. 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 APR is used by both Open Source and Commercial projects, prominent The range of platform-spanning functionality provided by APR
examples being the Apache HTTP server. includes: Memory allocation and memory pool functionality, atomic
operations, dynamic library handling, file I/O, command-argument
parsing, locking, hash tables and arrays, mmap functionality, network
sockets and protocols, threads, process and mutex functionality,
shared memory functionality, time routines, as well as user and group
ID services.
%package devel %package devel
Summary: Apache Portable Runtime (APR) Library Summary: Development files for the Apache Portable Runtime (APR) library
Group: Development/Libraries/Other Group: Development/Libraries/C and C++
Requires: %{libname} = %{version} Requires: %{libname} = %{version}
Provides: %{libname}-devel = %{version} Provides: %{libname}-devel = %{version}
Obsoletes: %{libname}-devel < %{version} Obsoletes: %{libname}-devel < %{version}
%description devel %description devel
The mission of the Apache Portable Runtime (APR) project is to create APR is Apache's Portable Runtime Library, designed to be a support
and maintain software libraries that provide a predictable and library that provides a predictable and consistent interface to
consistent interface to underlying platform-specific implementations. 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 APR is used by both Open Source and Commercial projects, prominent This subpackage contains header files for developing applications
examples being the Apache HTTP server. that want to make use of APR.
%prep %prep
%setup -q %setup -q
@ -120,8 +107,7 @@ export apr_lock_method=USE_PROC_PTHREAD_SERIALIZE
--with-devrandom=/dev/urandom \ --with-devrandom=/dev/urandom \
--disable-static \ --disable-static \
--enable-posix-shm \ --enable-posix-shm \
--with-sendfile \ --with-sendfile
--with-pic
make %{?_smp_mflags} CFLAGS="%{optflags} -DREADDIR_IS_THREAD_SAFE -fvisibility=hidden -fPIC" make %{?_smp_mflags} CFLAGS="%{optflags} -DREADDIR_IS_THREAD_SAFE -fvisibility=hidden -fPIC"
make dox %{?_smp_mflags} make dox %{?_smp_mflags}