|
|
|
@ -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
|
|
|
|
|