Hello community,

here is the log from the commit of package lzo for openSUSE:Factory checked in 
at 2018-08-03 12:29:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lzo (Old)
 and      /work/SRC/openSUSE:Factory/.lzo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lzo"

Fri Aug  3 12:29:31 2018 rev:35 rq:626649 version:2.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/lzo/lzo.changes  2017-12-06 08:47:03.718304760 
+0100
+++ /work/SRC/openSUSE:Factory/.lzo.new/lzo.changes     2018-08-03 
12:29:37.726889748 +0200
@@ -1,0 +2,6 @@
+Tue Jul 31 06:51:14 UTC 2018 - [email protected]
+
+- Modernise spec file with spec-cleaner
+- Move license to subpackage that will allways be installed
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ lzo.spec ++++++
--- /var/tmp/diff_new_pack.D4AXdS/_old  2018-08-03 12:29:38.166890395 +0200
+++ /var/tmp/diff_new_pack.D4AXdS/_new  2018-08-03 12:29:38.170890400 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lzo
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,18 @@
 #
 
 
+%define library_package liblzo2-2
 Name:           lzo
 Version:        2.10
 Release:        0
 Summary:        A Real-Time Data Compression Library
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Development/Libraries/C and C++
-Url:            http://www.oberhumer.com/opensource/lzo/
+URL:            http://www.oberhumer.com/opensource/lzo/
 Source:         
http://www.oberhumer.com/opensource/%{name}/download/%{name}-%{version}.tar.gz
 Source2:        baselibs.conf
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-# bug437293
-%ifarch ppc64
-Obsoletes:      lzo-64bit
-%endif
 
 %description
 LZO is a portable lossless data compression library written in ANSI C.
@@ -40,20 +36,13 @@
 and decompression in real-time. This means it favors speed over
 compression ratio.
 
-%define library_package liblzo2-2
-
-%package -n liblzo2-2
+%package -n %{library_package}
 Summary:        A Real-Time Data Compression Library
 Group:          Development/Libraries/C and C++
 Provides:       lzo = %{version}-%{release}
 Obsoletes:      lzo < %{version}
-# bug437293
-%ifarch ppc64
-Obsoletes:      lzo-64bit
-%endif
-#
 
-%description -n liblzo2-2
+%description -n %{library_package}
 LZO is a portable lossless data compression library written in ANSI C.
 It offers pretty fast compression and very fast decompression.
 Decompression requires no memory. LZO is suitable for data compression
@@ -64,11 +53,6 @@
 Summary:        Development files for lzo
 Group:          Development/Languages/C and C++
 Requires:       %{library_package} = %{version}
-# bug437293
-%ifarch ppc64
-Obsoletes:      lzo-devel-64bit
-%endif
-#
 
 %description devel
 LZO is a portable lossless data compression library written in ANSI C.
@@ -114,27 +98,25 @@
 make %{?_smp_mflags} check test
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
 rm -v %{buildroot}%{_libdir}/liblzo2.la
+rm -v %{buildroot}%{_docdir}/%{name}-devel/COPYING
 
 %post   -n %{library_package} -p /sbin/ldconfig
-
 %postun -n %{library_package} -p /sbin/ldconfig
 
 %files -n %{library_package}
-%defattr(-,root,root)
+%license COPYING
 %{_libdir}/liblzo2.so.*
 
 %files devel
-%defattr (-,root,root)
-%doc AUTHORS BUGS COPYING NEWS README THANKS
+%doc AUTHORS BUGS NEWS README THANKS
 %doc doc/* util/*
 %{_libdir}/liblzo2.so
 %{_includedir}/lzo
 %{_libdir}/pkgconfig/lzo2.pc
 
 %files devel-static
-%defattr (-,root,root)
 %{_libdir}/liblzo2.a
 
 %changelog


Reply via email to