diff --git a/baselibs.conf b/baselibs.conf index add1dc7..4ca0dbb 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,2 +1,2 @@ -libgtop-2_0-7 +libgtop-2_0-10 provides "libgtop- = " diff --git a/libgtop-2.28.5.tar.xz b/libgtop-2.28.5.tar.xz deleted file mode 100644 index 3c821bc..0000000 --- a/libgtop-2.28.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c812c174e44a8971a1f33265437cfd10f1e99869c7f5c05f8ee95846a70a3342 -size 654828 diff --git a/libgtop-2.30.0.tar.xz b/libgtop-2.30.0.tar.xz new file mode 100644 index 0000000..fab82cc --- /dev/null +++ b/libgtop-2.30.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:463bcbe5737b1b93f3345ee34abf601e8eb864f507c49ff1921c2737abafc1e5 +size 664476 diff --git a/libgtop.changes b/libgtop.changes index 3e62fa5..287a66b 100644 --- a/libgtop.changes +++ b/libgtop.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Apr 30 13:26:33 UTC 2014 - dimstar@opensuse.org + +- Update to version 2.30.0: + + Fixed libtool versioning for ABI breakage. + + Removed useless override for LINK variable. + + Fixed FTBFS on kFreeBSD. +- Change the name of libgtop-2_0_name defines to soname, and + actually use it. Bump from 7 to 10, following upstreams soname + change. Also update baselibs.conf to reflect the new soname. +- Remove the check for the library name in the install section: + this is rpmlints job. + ------------------------------------------------------------------- Mon Aug 19 21:13:41 UTC 2013 - dimstar@opensuse.org diff --git a/libgtop.spec b/libgtop.spec index f49731b..1d0daa7 100644 --- a/libgtop.spec +++ b/libgtop.spec @@ -1,7 +1,7 @@ # # spec file for package libgtop # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,15 @@ Name: libgtop -Version: 2.28.5 +Version: 2.30.0 Release: 0 # WARNING: After changing versions please call Re or rpmbuild to auto-update spec file: #%(sh %{_sourcedir}/%{name}_spec-update.sh %{_sourcedir} %{name} libgtop-2_0) -%define libgtop-2_0_name 7 +%define soname 10 Summary: LibGTop Library License: GPL-2.0+ Group: System/Libraries -Source: http://download.gnome.org/sources/libgtop/2.28/%{name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/libgtop/2.30/%{name}-%{version}.tar.xz Source1: %{name}_spec-update.sh Source99: baselibs.conf BuildRequires: fdupes @@ -44,7 +44,7 @@ On Linux systems, this information is taken directly from the /proc file system. On other systems, a server is used to read information from /dev/kmem. -%package -n libgtop-2_0-7 +%package -n libgtop-2_0-%{soname} Summary: LibGTop Library Group: System/Libraries Recommends: %{name}-lang @@ -57,7 +57,7 @@ Obsoletes: libgtop-64bit %endif # -%description -n libgtop-2_0-7 +%description -n libgtop-2_0-%{soname} A library that fetches information about the running system, such as CPU and memory usage and active processes. @@ -82,7 +82,7 @@ This package provides the GObject Introspection bindings for libgtop. %package devel Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/GNOME -Requires: libgtop-2_0-7 = %{version} +Requires: libgtop-2_0-%{soname} = %{version} Requires: typelib-1_0-GTop-2_0 = %{version} # bug437293 %ifarch ppc64 @@ -98,7 +98,7 @@ to develop applications that require these. %package doc Summary: LibGTop Library Group: Development/Libraries/GNOME -Requires: libgtop-2_0-7 = %{version} +Requires: libgtop-2_0-%{soname} = %{version} PreReq: /sbin/install-info %description doc @@ -130,18 +130,13 @@ translation-update-upstream %endif find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %find_lang %{name}-2.0 -LIBNAME="$(echo $RPM_BUILD_ROOT%{_libdir}/%{name}-*.so.? | sed 's/.*\///;s/\.so\./-/;s/\./_/')" -if test "$LIBNAME" != libgtop-2_0-7 ; then - echo "Library version does not match package name. It should be $LIBNAME." - exit 1 -fi %clean rm -rf $RPM_BUILD_ROOT -%post -n libgtop-2_0-7 -p /sbin/ldconfig +%post -n libgtop-2_0-%{soname} -p /sbin/ldconfig -%postun -n libgtop-2_0-7 -p /sbin/ldconfig +%postun -n libgtop-2_0-%{soname} -p /sbin/ldconfig %post doc %install_info --info-dir=%{_datadir}/info %{_datadir}/info/%{name}2.info.gz @@ -151,7 +146,7 @@ rm -rf $RPM_BUILD_ROOT %files lang -f %{name}-2.0.lang -%files -n libgtop-2_0-7 +%files -n libgtop-2_0-%{soname} %defattr(-, root, root) %doc AUTHORS COPYING NEWS README copyright.txt %{_libdir}/*.so.*