diff --git a/linux-atm.changes b/linux-atm.changes index 4e90939..237bd47 100644 --- a/linux-atm.changes +++ b/linux-atm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Oct 31 10:24:01 UTC 2010 - jengelh@medozas.de + +- Use %_smp_mflags +- Shared library policy: rename linux-atm-lib -> libatm + ------------------------------------------------------------------- Sat Oct 10 00:00:26 UTC 2009 - crrodriguez@opensuse.org diff --git a/linux-atm.spec b/linux-atm.spec index 4f48da5..27973b3 100644 --- a/linux-atm.spec +++ b/linux-atm.spec @@ -19,6 +19,7 @@ Name: linux-atm +%define sover 1 BuildRequires: bison flex glibc-devel Url: http://sourceforge.net/projects/linux-atm/ License: BSD 3-clause (or similar) ; GPL v2 or later ; LGPL v2.1 or later @@ -43,12 +44,12 @@ Authors: Mitchell Blank Jr., Paul B. Schroeder, -%package lib +%package -n libatm%sover License: BSD 3-clause (or similar) ; GPL v2 or later ; LGPL v2.1 or later Group: System/Libraries Summary: Libraries for ATM -%description lib +%description -n libatm%sover Libraries for ATM (Asynchronous Transfer Mode) networking. @@ -86,7 +87,7 @@ Authors: %build %{?suse_update_config} %configure --disable-static -%{__make} %{?jobs:-j%jobs} +%{__make} %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT @@ -95,9 +96,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf %{buildroot} -%post lib -p /sbin/ldconfig +%post -n libatm%sover -p /sbin/ldconfig -%postun lib -p /sbin/ldconfig +%postun -n libatm%sover -p /sbin/ldconfig %files %defattr(-,root,root) @@ -108,7 +109,7 @@ rm -rf %{buildroot} %doc COPYING COPYING.GPL COPYING.LGPL %doc %{_mandir}/man*/*.gz -%files lib +%files -n libatm%sover %defattr(-,root,root) %{_libdir}/*.so %{_libdir}/*.so.*