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

View File

@ -25,7 +25,7 @@ Version: 1.6.2
Release: 0
Summary: Apache Portable Runtime (APR) Library
License: Apache-2.0
Group: Development/Libraries/Other
Group: Development/Libraries/C and C++
Url: https://apr.apache.org/
Source0: https://www.apache.org/dist/apr/apr-%{version}.tar.bz2
Source1: https://www.apache.org/dist/apr/apr-%{version}.tar.bz2.asc
@ -46,54 +46,41 @@ BuildRequires: python
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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 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.
APR is Apache's Portable Runtime Library, designed to be a support
library that provides a predictable and consistent interface to
underlying platform-specific implementations.
%package -n %{libname}
Summary: Apache Portable Runtime (APR) Library
Group: System/Libraries
%description -n %{libname}
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.
APR is Apache's Portable Runtime Library, designed to be a support
library that provides a predictable and consistent interface to
underlying platform-specific implementations.
The APR is used by both Open Source and Commercial projects, prominent
examples being the Apache HTTP server.
The range of platform-spanning functionality provided by APR
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
Summary: Apache Portable Runtime (APR) Library
Group: Development/Libraries/Other
Summary: Development files for the Apache Portable Runtime (APR) library
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
Provides: %{libname}-devel = %{version}
Obsoletes: %{libname}-devel < %{version}
%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 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.
APR is Apache's Portable Runtime Library, designed to be a support
library that provides a predictable and consistent interface to
underlying platform-specific implementations.
The APR is used by both Open Source and Commercial projects, prominent
examples being the Apache HTTP server.
This subpackage contains header files for developing applications
that want to make use of APR.
%prep
%setup -q
@ -120,8 +107,7 @@ export apr_lock_method=USE_PROC_PTHREAD_SERIALIZE
--with-devrandom=/dev/urandom \
--disable-static \
--enable-posix-shm \
--with-sendfile \
--with-pic
--with-sendfile
make %{?_smp_mflags} CFLAGS="%{optflags} -DREADDIR_IS_THREAD_SAFE -fvisibility=hidden -fPIC"
make dox %{?_smp_mflags}