OBS User unknown 2009-05-15 19:34:27 +00:00 committed by Git OBS Bridge
parent 2549f4d05a
commit 761b671409
2 changed files with 17 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 7 22:57:41 CEST 2009 - crrodriguez@suse.de
- disable static libraries
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 7 12:34:56 CET 2009 - olh@suse.de Wed Jan 7 12:34:56 CET 2009 - olh@suse.de

View File

@ -28,7 +28,7 @@ Obsoletes: libnscd-64bit
%endif %endif
# #
Version: 2.0.2 Version: 2.0.2
Release: 106 Release: 108
Summary: Library to Allow Applications to Communicate with nscd Summary: Library to Allow Applications to Communicate with nscd
Source: libnscd-%{version}.tar.bz2 Source: libnscd-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -59,19 +59,20 @@ to develop applications that needs to communicate with a running nscd.
%prep %prep
%setup %setup -q
%build %build
%configure %configure --libdir=/%{_lib} --disable-static --with-pic
make %{__make} %{?jobs:-j%jobs}
%check
make check make check
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/libnscd.la %{__mkdir_p} %{buildroot}%{_libdir}
mkdir -p $RPM_BUILD_ROOT/%{_lib} %{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so
mv -v $RPM_BUILD_ROOT%{_libdir}/libnscd.so.* $RPM_BUILD_ROOT/%{_lib} %{__rm} -v %{buildroot}/%{_lib}/%{name}.{so,la}
ln -sf ../../%{_lib}/libnscd.so.1 $RPM_BUILD_ROOT%{_libdir}/libnscd.so
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -87,12 +88,13 @@ rm -rf $RPM_BUILD_ROOT
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_prefix}/include/*.h %{_includedir}/*.h
%{_libdir}/libnscd.a
%{_libdir}/libnscd.so %{_libdir}/libnscd.so
%{_mandir}/man3/nscd_flush_cache.3* %{_mandir}/man3/nscd_flush_cache.3*
%changelog %changelog
* Thu May 07 2009 crrodriguez@suse.de
- disable static libraries
* Wed Jan 07 2009 olh@suse.de * Wed Jan 07 2009 olh@suse.de
- obsolete old -XXbit packages (bnc#437293) - obsolete old -XXbit packages (bnc#437293)
* Thu Apr 10 2008 ro@suse.de * Thu Apr 10 2008 ro@suse.de