Accepting request 102962 from home:elvigia:branches:Base:System

- put library back into %{_libdir} , /usr merge.

OBS-URL: https://build.opensuse.org/request/show/102962
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnscd?expand=0&rev=10
This commit is contained in:
Cristian Rodríguez 2012-02-07 15:29:42 +00:00 committed by Git OBS Bridge
parent 490b316ab0
commit d83c3673a5
2 changed files with 14 additions and 14 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 7 05:31:45 UTC 2012 - crrodriguez@opensuse.org
- put library back into %{_libdir} , /usr merge.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 31 12:37:02 UTC 2010 - jengelh@medozas.de Sun Oct 31 12:37:02 UTC 2010 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package libnscd (Version 2.0.2) # spec file for package libnscd
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,21 +15,18 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: libnscd Name: libnscd
License: LGPLv2.1
Group: System/Libraries
AutoReqProv: on
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
Obsoletes: libnscd-64bit Obsoletes: libnscd-64bit
%endif %endif
# #
Version: 2.0.2 Version: 2.0.2
Release: 116 Release: 0
Summary: Library to Allow Applications to Communicate with nscd Summary: Library to Allow Applications to Communicate with nscd
License: LGPL-2.1
Group: System/Libraries
Source: libnscd-%{version}.tar.bz2 Source: libnscd-%{version}.tar.bz2
Source2: baselibs.conf Source2: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -42,11 +39,10 @@ for special services, if they have the necessary permissions.
%package devel %package devel
License: LGPLv2.1+
Summary: Include Files and Libraries for Development. Summary: Include Files and Libraries for Development.
License: LGPL-2.1+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libnscd = %{version} Requires: libnscd = %{version}
AutoReqProv: on
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
Obsoletes: libnscd-devel-64bit Obsoletes: libnscd-devel-64bit
@ -63,7 +59,7 @@ to develop applications that needs to communicate with a running nscd.
%setup -q %setup -q
%build %build
%configure --libdir=/%{_lib} --disable-static --with-pic %configure --disable-static --with-pic
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%check %check
@ -72,8 +68,7 @@ make check
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
%{__mkdir_p} %{buildroot}%{_libdir} %{__mkdir_p} %{buildroot}%{_libdir}
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so rm -fv %{buildroot}%{_libdir}/*.la
%{__rm} -v %{buildroot}/%{_lib}/%{name}.{so,la}
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -85,7 +80,7 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING.LIB README NEWS %doc COPYING.LIB README NEWS
/%{_lib}/libnscd.so.* %{_libdir}/libnscd.so.*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)