Hello community, here is the log from the commit of package libvpd2 for openSUSE:Factory checked in at 2019-02-13 09:59:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libvpd2 (Old) and /work/SRC/openSUSE:Factory/.libvpd2.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libvpd2" Wed Feb 13 09:59:20 2019 rev:30 rq:666411 version:2.2.6 Changes: -------- --- /work/SRC/openSUSE:Factory/libvpd2/libvpd2.changes 2018-11-08 09:50:54.336928740 +0100 +++ /work/SRC/openSUSE:Factory/.libvpd2.new.28833/libvpd2.changes 2019-02-13 09:59:28.617648901 +0100 @@ -1,0 +2,6 @@ +Wed Jan 16 08:20:27 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Switch to pkgconfig dependencies +- Use %license macro + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libvpd2.spec ++++++ --- /var/tmp/diff_new_pack.Vxc1Nb/_old 2019-02-13 09:59:30.361648477 +0100 +++ /var/tmp/diff_new_pack.Vxc1Nb/_new 2019-02-13 09:59:30.365648475 +0100 @@ -1,7 +1,7 @@ # # spec file for package libvpd2 # -# Copyright (c) 2018 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/ # @@ -20,9 +20,9 @@ Version: 2.2.6 Release: 0 Summary: VPD Database access library for lsvpd -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Libraries/Other -Url: http://linux-diag.sourceforge.net/Lsvpd.html +URL: https://github.com/open-power-host-os/libvpd Source: http://downloads.sourceforge.net/project/linux-diag/libvpd/%{version}/libvpd-%{version}.tar.gz Source2: baselibs.conf Patch1: libvpd2.makefile.patch @@ -30,11 +30,10 @@ BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool -BuildRequires: pkg-config -BuildRequires: sqlite3-devel -BuildRequires: udev -BuildRequires: zlib-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(udev) +BuildRequires: pkgconfig(zlib) %description The libvpd_cxx package contains the classes that are used to access a @@ -44,7 +43,7 @@ Summary: VPD Database access library for lsvpd Group: Development/Languages/C and C++ Requires: %{name} = %{version} -Requires: sqlite3-devel +Requires: pkgconfig(sqlite3) %description devel The libvpd-devel package contains development libraries and header @@ -63,20 +62,18 @@ %install %make_install -rm -f %{buildroot}%{_libdir}/*.la +find %{buildroot} -type f -name "*.la" -delete -print %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig %files -%defattr(-,root,root) %{_libdir}/*.so.* -/%{_udevrulesdir}/90-vpdupdate.rules +%{_udevrulesdir}/90-vpdupdate.rules %files devel -%defattr(-,root,root) -%doc COPYING README +%license COPYING +%doc README %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*
