Hello community, here is the log from the commit of package libnjb for openSUSE:Factory checked in at 2020-06-26 21:48:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libnjb (Old) and /work/SRC/openSUSE:Factory/.libnjb.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libnjb" Fri Jun 26 21:48:44 2020 rev:11 rq:817145 version:2.2.7 Changes: -------- --- /work/SRC/openSUSE:Factory/libnjb/libnjb.changes 2013-05-03 09:17:20.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libnjb.new.3060/libnjb.changes 2020-06-26 21:49:06.414534634 +0200 @@ -1,0 +2,6 @@ +Tue Jun 23 09:14:47 UTC 2020 - Dominique Leuenberger <[email protected]> + +- Clean spec-file using spec-cleaner; mainly move LICENSE from %doc + to %license (boo#1082318). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libnjb.spec ++++++ --- /var/tmp/diff_new_pack.ZYKkUo/_old 2020-06-26 21:49:07.502538117 +0200 +++ /var/tmp/diff_new_pack.ZYKkUo/_new 2020-06-26 21:49:07.506538130 +0200 @@ -1,7 +1,7 @@ # # spec file for package libnjb # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,30 +12,28 @@ # 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/ # -# norootforbuild - Name: libnjb -BuildRequires: libtool libusb-devel zlib-devel -Url: http://libnjb.sourceforge.net -License: BSD-3-Clause -Group: Development/Libraries/Other Version: 2.2.7 -Release: 1 +Release: 0 Summary: Nomad Jukebox API +License: BSD-3-Clause +Group: Development/Libraries/Other +URL: http://libnjb.sourceforge.net Source: %{name}-%{version}.tar.gz -Patch: libnjb-no_m4_dir.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Patch0: libnjb-no_m4_dir.diff +BuildRequires: libtool +BuildRequires: libusb-devel +BuildRequires: zlib-devel Requires: dbus-1 %description Nomad Jukebox API %package -n libnjb5 -License: BSD-3-Clause Summary: Nomad Jukebox API Group: Development/Libraries/Other Requires: %{name} = %{version} @@ -44,10 +42,8 @@ Nomad Jukebox API %package devel -License: BSD-3-Clause -Group: Development/Libraries/Other -AutoReqProv: on Summary: Nomad Jukebox API +Group: Development/Libraries/Other Requires: %{name} = %{version} Requires: libusb-devel @@ -56,37 +52,31 @@ %prep %setup -q -%patch +%patch0 %build autoreconf -fiv %configure --program-prefix=njb- --disable-static --with-pic -%{__make} %{?jobs:-j%jobs} +%make_build %install -make install DESTDIR=$RPM_BUILD_ROOT -rm %{buildroot}%{_libdir}/*.la - -%clean -rm -rf $RPM_BUILD_ROOT +%make_install +find %{buildroot} -type f -name "*.la" -delete -print %post -n libnjb5 -p /sbin/ldconfig - %postun -n libnjb5 -p /sbin/ldconfig %files -%defattr(-,root,root) -%doc AUTHORS FAQ README LICENSE +%license LICENSE +%doc AUTHORS FAQ README %{_bindir}/njb-* %files -n libnjb5 -%defattr (-, root, root) %{_libdir}/libnjb.so.* %files devel -%defattr(-,root,root) %{_libdir}/libnjb.so -%{_prefix}/include/libnjb.h +%{_includedir}/libnjb.h %{_libdir}/pkgconfig/libnjb.pc %changelog
