Accepting request 377439 from GNOME:Factory

Update to 3.20.0 (forwarded request 377349 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/377439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libgtop?expand=0&rev=51
This commit is contained in:
Dominique Leuenberger 2016-03-29 12:43:47 +00:00 committed by Git OBS Bridge
commit 27e7105bb6
5 changed files with 40 additions and 46 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8443246332f22b33e389f565825b58cd9623fb7625bf874d404354b705ad178e
size 665224

3
libgtop-2.34.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d8ae39e700d1c8c0b3e1391ed10ca88e6fc14f49d175d516dab6e3313b4ee2a
size 677392

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Tue Mar 22 10:38:59 UTC 2016 - dimstar@opensuse.org
- Update to version 2.34.0:
+ Stable release.
-------------------------------------------------------------------
Tue Mar 1 10:54:57 UTC 2016 - zaitor@opensuse.org
- Update to version 2.33.91:
+ Fix building on musl-libc.
+ Updated translations.
- Drop libgtop_spec-update.sh as source, and clean spec of it. No
longer needed in the obs.
- Move %install_info_delete for doc subpackage from postun to
preun.
-------------------------------------------------------------------
Wed Jan 20 09:07:10 UTC 2016 - dimstar@opensuse.org
- Update to version 2.33.4:
+ On OpenBSD only PID 1 is special.
+ Call setlocale in main.
-------------------------------------------------------------------
Tue Dec 22 21:41:33 UTC 2015 - zaitor@opensuse.org
- Update to version 2.33.3:
+ Fixed broken compilation on OpenBSD.
+ Updated translations.
-------------------------------------------------------------------
Tue Sep 22 06:59:22 UTC 2015 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package libgtop
#
# 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
@ -17,16 +17,13 @@
Name: libgtop
Version: 2.32.0
Version: 2.34.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 soname 10
Summary: LibGTop Library
License: GPL-2.0+
Group: System/Libraries
Source: http://download.gnome.org/sources/libgtop/2.32/%{name}-%{version}.tar.xz
Source1: %{name}_spec-update.sh
Source: http://download.gnome.org/sources/libgtop/2.34/%{name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: fdupes
BuildRequires: glib2-devel
@ -139,12 +136,12 @@ rm -rf $RPM_BUILD_ROOT
%postun -n libgtop-2_0-%{soname} -p /sbin/ldconfig
%preun doc
%install_info_delete --info-dir=%{_datadir}/info %{_datadir}/info/%{name}2.info.gz
%post doc
%install_info --info-dir=%{_datadir}/info %{_datadir}/info/%{name}2.info.gz
%postun doc
%install_info_delete --info-dir=%{_datadir}/info %{_datadir}/info/%{name}2.info.gz
%files lang -f %{name}-2.0.lang
%files -n libgtop-2_0-%{soname}

View File

@ -1,34 +0,0 @@
#!/bin/bash
# Autobuild doesn't support package names with macros. This script will update versions in package names.
# Usage: Automatically called from spec file by:
# libwnck_spec-update.sh DIR BASE_NAME libnames...
if ! test -f $1/$2.spec ; then
exit
fi
BASE=$1/$2
shift 2
for PKGNAME in $@ ; do
# Packages with name ending by number needs separator
if test x`echo $PKGNAME | sed "s/.*[0-9]$//"` = x ; then
SEPARATOR=-
else
SEPARATOR=
fi
sed -i "
# Copy ${PKGNAME}_name to hold space
/^%define ${PKGNAME}_name / {
h;
s/^%define ${PKGNAME}_name //;
x;
};
# Update ${PKGNAME}_name everywhere
/$PKGNAME$SEPARATOR[0-9][-_0-9]*/ {
G;
s/$PKGNAME$SEPARATOR[0-9][-_0-9]*\(.*\)\n\(.*\)/$PKGNAME$SEPARATOR\2\1/;
};" $BASE.spec
done