Hello community,

here is the log from the commit of package linux-atm for openSUSE:Factory 
checked in at 2019-12-16 17:26:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/linux-atm (Old)
 and      /work/SRC/openSUSE:Factory/.linux-atm.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "linux-atm"

Mon Dec 16 17:26:30 2019 rev:29 rq:756877 version:2.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/linux-atm/linux-atm.changes      2019-07-22 
12:17:40.751707104 +0200
+++ /work/SRC/openSUSE:Factory/.linux-atm.new.4691/linux-atm.changes    
2019-12-16 17:26:32.147956136 +0100
@@ -1,0 +2,7 @@
+Fri Dec  6 11:26:11 UTC 2019 - Martin Pluskal <[email protected]>
+
+- Modernise spec file a bit:
+  * Move licnse to library package
+  * Use more of new macros for building
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ linux-atm.spec ++++++
--- /var/tmp/diff_new_pack.1FboXI/_old  2019-12-16 17:26:32.967955808 +0100
+++ /var/tmp/diff_new_pack.1FboXI/_new  2019-12-16 17:26:32.971955806 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package linux-atm
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,14 @@
 #
 
 
+%global sover   1
 Name:           linux-atm
 Version:        2.5.2
 Release:        0
-%global sover   1
 Summary:        Tools for ATM
 License:        BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.1-or-later
 Group:          Productivity/Networking/Other
-
-Url:            http://linux-atm.sourceforge.net/
+URL:            http://linux-atm.sourceforge.net/
 Source0:        
http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM linux-atm-2.5.2_fdleak.patch
 Patch0:         linux-atm-2.5.2_fdleak.patch
@@ -36,25 +35,20 @@
 Patch3:         linux-atm-2.5.2-remove-headers-crude-hack.patch
 # PATCH-FIX-UPSTREAM fix-build-after-y2038-changes-in-glibc.patch -- fix build 
after y2038 changes in glibc
 Patch4:         fix-build-after-y2038-changes-in-glibc.patch
-
 BuildRequires:  bison
 BuildRequires:  flex
 BuildRequires:  glibc-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Tools to support ATM (Asynchronous Transfer Mode) networking.
 
-
 %package -n libatm%{sover}
-
 Summary:        Libraries for ATM
 Group:          System/Libraries
 
 %description -n libatm%{sover}
 Libraries for ATM (Asynchronous Transfer Mode) networking.
 
-
 %package devel
 Summary:        Development for ATM
 Group:          Development/Libraries/C and C++
@@ -64,40 +58,34 @@
 Libraries and header files for ATM (Asynchronous Transfer Mode)
 networking.
 
-
 %prep
-%setup -q
-%autopatch -p1
+%autosetup -p1
 
 %build
 %configure --disable-static
-%{__make} %{?_smp_mflags}
+%make_build
 
 %install
-%{__make} install DESTDIR=%{buildroot}
-%{__rm} -rf %{buildroot}%{_libdir}/*.la
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
 
 %post -n libatm%{sover} -p /sbin/ldconfig
-
 %postun -n libatm%{sover} -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
+%doc README AUTHORS ChangeLog NEWS THANKS BUGS
 %config(noreplace) %{_sysconfdir}/atmsigd.conf
 %config(noreplace) %{_sysconfdir}/hosts.atm
 %{_bindir}/*
 %{_sbindir}/*
 /lib/firmware/*
-%doc README AUTHORS ChangeLog NEWS THANKS BUGS
-%license COPYING COPYING.GPL COPYING.LGPL
-%doc %{_mandir}/man*/*.gz
+%{_mandir}/man*/*.gz
 
 %files -n libatm%{sover}
-%defattr(-,root,root)
+%license COPYING COPYING.GPL COPYING.LGPL
 %{_libdir}/libatm.so.%{sover}*
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/atm*.h
 %{_libdir}/libatm.so
 


Reply via email to