From 2cfd32e0e1a6850185deaf23fafe23d0739ef5f8c1f0edfa1284203ad4146fe0 Mon Sep 17 00:00:00 2001 From: Kristyna Streitova Date: Fri, 14 Jul 2017 08:09:27 +0000 Subject: [PATCH] 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 --- apr.changes | 7 +++++++ apr.spec | 58 ++++++++++++++++++++--------------------------------- 2 files changed, 29 insertions(+), 36 deletions(-) diff --git a/apr.changes b/apr.changes index 054786d..3d74797 100644 --- a/apr.changes +++ b/apr.changes @@ -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 diff --git a/apr.spec b/apr.spec index 15e9d8b..c4dcb3f 100644 --- a/apr.spec +++ b/apr.spec @@ -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}