Accepting request 523797 from home:jengelh:branches:Base:System
- Drop ineffective --with-pic. Replace old RPM macros by new constructs. The package summary was updated. OBS-URL: https://build.opensuse.org/request/show/523797 OBS-URL: https://build.opensuse.org/package/show/Base:System/libnscd?expand=0&rev=18
This commit is contained in:
parent
f6ed5f3697
commit
32f3ac6fc9
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 12 18:00:10 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Drop ineffective --with-pic. Replace old RPM macros by new
|
||||
constructs. The package summary was updated.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 5 14:27:45 UTC 2017 - schwab@suse.de
|
||||
|
||||
|
13
libnscd.spec
13
libnscd.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libnscd
|
||||
#
|
||||
# Copyright (c) 2014 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
|
||||
@ -40,9 +40,9 @@ for special services, if they have the necessary permissions.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Library to Allow Applications to Communicate with nscd
|
||||
# O/P added for 13.1
|
||||
License: LGPL-2.1
|
||||
Group: System/Libraries
|
||||
# O/P added for 13.1
|
||||
Obsoletes: libnscd < %version-%release
|
||||
Provides: libnscd = %version-%release
|
||||
|
||||
@ -52,7 +52,7 @@ Service Cache Daemon) and allows those applications, to flush the
|
||||
cache for special services, if they have the necessary permissions.
|
||||
|
||||
%package devel
|
||||
Summary: Include Files and Libraries for Development
|
||||
Summary: Development files for libnscd
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
@ -73,15 +73,14 @@ to develop applications that needs to communicate with a running nscd.
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static --with-pic
|
||||
%{__make} %{?_smp_mflags}
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{__mkdir_p} %{buildroot}%{_libdir}
|
||||
%make_install
|
||||
rm -fv %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user