Accepting request 51733 from Base:System

Accepted submit request 51733 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/51733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/linux-atm?expand=0&rev=12
This commit is contained in:
Ruediger Oertel 2010-11-02 10:37:41 +00:00 committed by Git OBS Bridge
commit cf9cde5b3f
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 Sat Oct 10 00:00:26 UTC 2009 - crrodriguez@opensuse.org

View File

@ -19,6 +19,7 @@
Name: linux-atm Name: linux-atm
%define sover 1
BuildRequires: bison flex glibc-devel BuildRequires: bison flex glibc-devel
Url: http://sourceforge.net/projects/linux-atm/ Url: http://sourceforge.net/projects/linux-atm/
License: BSD 3-clause (or similar) ; GPL v2 or later ; LGPL v2.1 or later 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> Mitchell Blank Jr., <mitch@sfgoth.com>
Paul B. Schroeder, <paulsch@us.ibm.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 License: BSD 3-clause (or similar) ; GPL v2 or later ; LGPL v2.1 or later
Group: System/Libraries Group: System/Libraries
Summary: Libraries for ATM Summary: Libraries for ATM
%description lib %description -n libatm%sover
Libraries for ATM (Asynchronous Transfer Mode) networking. Libraries for ATM (Asynchronous Transfer Mode) networking.
@ -86,7 +87,7 @@ Authors:
%build %build
%{?suse_update_config} %{?suse_update_config}
%configure --disable-static %configure --disable-static
%{__make} %{?jobs:-j%jobs} %{__make} %{?_smp_mflags}
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
@ -95,9 +96,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
%clean %clean
rm -rf %{buildroot} 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 %files
%defattr(-,root,root) %defattr(-,root,root)
@ -108,7 +109,7 @@ rm -rf %{buildroot}
%doc COPYING COPYING.GPL COPYING.LGPL %doc COPYING COPYING.GPL COPYING.LGPL
%doc %{_mandir}/man*/*.gz %doc %{_mandir}/man*/*.gz
%files lib %files -n libatm%sover
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/*.so.* %{_libdir}/*.so.*