Hello community,
here is the log from the commit of package liblxqt-mount for openSUSE:Factory
checked in at 2016-03-08 09:39:12
Comparing /work/SRC/openSUSE:Factory/liblxqt-mount (Old)
and /work/SRC/openSUSE:Factory/.liblxqt-mount.new (New)
Package is "liblxqt-mount"
Changes:
--- /work/SRC/openSUSE:Factory/liblxqt-mount/liblxqt-mount.changes
2015-02-25 02:18:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.liblxqt-mount.new/liblxqt-mount.changes
2016-03-08 10:18:34.0 +0100
@@ -1,0 +2,6 @@
+Sat Mar 5 15:33:28 UTC 2016 - avvi...@yandex.ru
+
+- Fix build error: use pkgconfig(lxqt) >= %{version}
+- Spec file cleanup
+
+---
Other differences:
--
++ liblxqt-mount.spec ++
--- /var/tmp/diff_new_pack.2GHeia/_old 2016-03-08 10:18:34.0 +0100
+++ /var/tmp/diff_new_pack.2GHeia/_new 2016-03-08 10:18:34.0 +0100
@@ -1,7 +1,7 @@
#
# spec file for package liblxqt-mount
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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,19 +16,21 @@
#
+%define sover 0
+%define soname lxqtmount
Name: liblxqt-mount
Version:0.9.0
Release:0
Summary:Library used to manage removable devices
License:LGPL-2.1+
Group: Development/Libraries/C and C++
-Url:http://www.lxde.org
+Url:http://lxqt.org
Source:
http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: pkgconfig(Qt5UiTools)
-BuildRequires: pkgconfig(lxqt) = %{version}
+BuildRequires: pkgconfig(lxqt) >= %{version}
Obsoletes: liblxqt-mount-qt5 < %{version}
Provides: liblxqt-mount-qt5 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -36,10 +38,10 @@
%description
System Library used to manage removable devices
-%package -n liblxqtmount0
+%package -n lib%{soname}%{sover}
Summary:Libraries for lxqt-mount
Group: System/Libraries
-Provides: liblxqt-mount
+Provides: %{name}%{sover} = %{version}
%description -n liblxqtmount0
System Development libraries for lxqt-mount
@@ -47,37 +49,35 @@
%package devel
Summary:Development files for liblxqt-mount
Group: Development/Libraries/C and C++
-Requires: liblxqtmount0 = %{version}
+Requires: %{name}%{sover} = %{version}
Requires: pkg-config
%description devel
-System Development Libraries for liblxqt-mount
+System Development Libraries for %{name}.
%prep
-%setup -q -n liblxqt-mount-%{version}
+%setup -q
%build
%cmake
-%__make %{?_smp_mflags}
+make %{?_smp_mflags}
%install
%cmake_install
-%post -n liblxqtmount0 -p /sbin/ldconfig
+%post -n lib%{soname}%{sover} -p /sbin/ldconfig
+%postun -n lib%{soname}%{sover} -p /sbin/ldconfig
-%postun -n liblxqtmount0 -p /sbin/ldconfig
-
-%files -n liblxqtmount0
+%files -n lib%{soname}%{sover}
%defattr(-,root,root)
%doc AUTHORS COPYING
-%{_libdir}/liblxqtmount.so.0
-%{_libdir}/liblxqtmount.so.0.*
+%{_libdir}/lib%{soname}.so.*
%files devel
%defattr(-,root,root)
-%{_includedir}/lxqtmount
-%{_libdir}/cmake/lxqtmount
-%{_libdir}/pkgconfig/lxqtmount.pc
-%{_libdir}/liblxqtmount.so
+%{_includedir}/%{soname}
+%{_libdir}/cmake/%{soname}
+%{_libdir}/pkgconfig/%{soname}.pc
+%{_libdir}/lib%{soname}.so
%changelog