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
This commit is contained in:
Cristian Rodríguez 2010-10-31 16:41:50 +00:00 committed by Git OBS Bridge
parent 8d7d69d4bd
commit 5e15b3450f
2 changed files with 13 additions and 6 deletions

View File

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

View File

@ -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., <mitch@sfgoth.com>
Paul B. Schroeder, <paulsch@us.ibm.com>
%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.*