Accepting request 515243 from home:jengelh:branches:Base:System

- Remove --with-pic which is only for static libs.
- Fix RPM groups.

OBS-URL: https://build.opensuse.org/request/show/515243
OBS-URL: https://build.opensuse.org/package/show/Base:System/popt?expand=0&rev=46
This commit is contained in:
Marcus Meissner 2017-08-21 05:40:18 +00:00 committed by Git OBS Bridge
parent 82f8480513
commit 602af09bc2
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Aug 8 19:29:17 UTC 2017 - jengelh@inai.de
- Remove --with-pic which is only for static libs.
- Fix RPM groups.
-------------------------------------------------------------------
Mon Oct 7 14:25:32 UTC 2013 - schwab@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package popt
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,7 +22,7 @@ Release: 0
#!BuildIgnore: rpmlint-Factory
Summary: A C library for parsing command line parameters
License: MIT
Group: System Environment/Libraries
Group: Development/Libraries/C and C++
Url: http://www.rpm5.org/
#CVS-Clone: -d :pserver:anonymous@rpm5.org:/cvs co popt
@ -45,7 +45,7 @@ parsing arbitrary strings into argv[] arrays using shell-like rules.
%package -n libpopt0
Summary: A C library for parsing command line parameters
Group: System Environment/Libraries
Group: System/Libraries
Provides: popt = %{version}
Obsoletes: popt < %{version}
@ -60,7 +60,7 @@ parsing arbitrary strings into argv[] arrays using shell-like rules.
%package devel
Summary: Development files for the popt library
Group: Development/Libraries
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libpopt0 = %{version}
@ -76,7 +76,7 @@ API documentation of the popt library, too.
%build
autoreconf -fiv
%configure --with-pic --disable-static
%configure --disable-static
make %{?_smp_mflags}
%install