Hello community, here is the log from the commit of package libxmp for openSUSE:Factory checked in at 2019-08-27 10:24:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libxmp (Old) and /work/SRC/openSUSE:Factory/.libxmp.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libxmp" Tue Aug 27 10:24:48 2019 rev:29 rq:726088 version:4.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libxmp/libxmp.changes 2017-02-13 07:51:28.690038313 +0100 +++ /work/SRC/openSUSE:Factory/.libxmp.new.7948/libxmp.changes 2019-08-27 10:24:50.843925735 +0200 @@ -1,0 +2,7 @@ +Mon Aug 26 08:13:55 UTC 2019 - Jan Engelhardt <jeng...@inai.de> + +- Disable LTO, as it leads to a build error + "<artificial>:(.text.startup+0xb0): undefined reference to `xmp_set_player'" +- Modernize specfile. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libxmp.spec ++++++ --- /var/tmp/diff_new_pack.8HS6KK/_old 2019-08-27 10:24:51.507925691 +0200 +++ /var/tmp/diff_new_pack.8HS6KK/_new 2019-08-27 10:24:51.511925690 +0200 @@ -1,7 +1,7 @@ # # spec file for package libxmp # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,14 +21,13 @@ Version: 4.4.1 Release: 0 Summary: Module Player library for MOD, S3M, IT and others -License: LGPL-2.1 +License: LGPL-2.1-only Group: Development/Libraries/C and C++ -Url: http://xmp.sf.net/ +URL: http://xmp.sf.net/ #Freshcode-URL: https://freshcode.club/projects/libxmp #Git-Clone: git://git.code.sf.net/p/xmp/libxmp Source: http://downloads.sf.net/xmp/%name-%version.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkg-config %description @@ -62,15 +61,16 @@ libxmp. %prep -%setup -q +%autosetup -p1 %build +%global _lto_cflags %nil %configure make %{?_smp_mflags} V=1 %install b="%buildroot" -make install DESTDIR="$b" +%make_install mkdir -p "$b/%_mandir/man3" "$b/%_docdir/%name" install -pm0644 docs/Changelog docs/[a-z]* "$b/%_docdir/%name/" # Remove file due to bnc#808655, and because they are hardware-specific @@ -85,12 +85,10 @@ %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) %_libdir/libxmp.so.4* -%doc docs/COPYING.LIB +%license docs/COPYING.LIB %files devel -%defattr(-,root,root) %_includedir/xmp.h %_libdir/libxmp.so %_libdir/pkgconfig/libxmp.pc