From 3d1e24658a3956c386d1e7a247eb189325e62a3401cd48b1c01584342c0f4311 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 5 Mar 2018 13:47:08 +0000 Subject: [PATCH] Accepting request 581041 from GNOME:Next spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581041 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdl?expand=0&rev=108 --- gdl.changes | 5 +++++ gdl.spec | 17 +++++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/gdl.changes b/gdl.changes index 54eb26a..c26a217 100644 --- a/gdl.changes +++ b/gdl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 28 16:25:56 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Sun Sep 10 21:24:31 UTC 2017 - zaitor@opensuse.org diff --git a/gdl.spec b/gdl.spec index bade92d..ef4c080 100644 --- a/gdl.spec +++ b/gdl.spec @@ -1,7 +1,7 @@ # # spec file for package gdl # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -20,9 +20,9 @@ Name: gdl Version: 3.26.0 Release: 0 Summary: Gnome Devtool Libraries -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Libraries/GNOME -Url: http://ftp.gnome.org/pub/GNOME/sources/gdl/3.18/ +URL: http://ftp.gnome.org/pub/GNOME/sources/gdl/3.18/ Source: http://download.gnome.org/sources/gdl/3.26/%{name}-%{version}.tar.xz BuildRequires: fdupes BuildRequires: gobject-introspection-devel @@ -30,7 +30,6 @@ BuildRequires: gtk3-devel BuildRequires: intltool >= 0.40.4 BuildRequires: libxml2-devel BuildRequires: translation-update-upstream -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Gnome Devtool Libraries contains components and libraries that are @@ -72,6 +71,7 @@ intended to be shared between GNOME development tools, including gnome-debug, gnome-build, and anjuta2. %lang_package + %prep %setup -q translation-update-upstream @@ -82,25 +82,22 @@ make %{?_smp_mflags} V=1 %install %make_install -rm %{buildroot}%{_libdir}/*.la +find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name}-3 %fdupes -s %{buildroot} %post -n libgdl-3-5 -p /sbin/ldconfig - %postun -n libgdl-3-5 -p /sbin/ldconfig %files -n libgdl-3-5 -%defattr(-, root, root) -%doc AUTHORS COPYING ChangeLog NEWS README +%license COPYING +%doc AUTHORS ChangeLog NEWS README %{_libdir}/*.so.* %files -n typelib-1_0-Gdl-3 -%defattr(-,root,root) %{_libdir}/girepository-1.0/Gdl-3.typelib %files devel -%defattr(-, root, root) %{_includedir}/libgdl* %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so