From 8d7d69d4bd0014ff30ab35ef1d996a24781a6aa53ecc4443dc2240ee6c098119 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 16 Sep 2010 10:22:54 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Base:System/linux-atm?expand=0&rev=5 From 5e15b3450f5cc9947f84d686fcba975fc86947dbcaa57cfb64005738c10be8a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Sun, 31 Oct 2010 16:41:50 +0000 Subject: [PATCH 2/2] Accepting request 51724 from home:jengelh:smp cool, thanks OBS-URL: https://build.opensuse.org/request/show/51724 OBS-URL: https://build.opensuse.org/package/show/Base:System/linux-atm?expand=0&rev=6 --- linux-atm.changes | 6 ++++++ linux-atm.spec | 13 +++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) 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.*