diff --git a/json-glib.changes b/json-glib.changes index 5337ef1..0ba0a63 100644 --- a/json-glib.changes +++ b/json-glib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 28 16:33:45 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Tue Sep 12 21:37:26 UTC 2017 - dimstar@opensuse.org diff --git a/json-glib.spec b/json-glib.spec index 4182902..1fc9198 100644 --- a/json-glib.spec +++ b/json-glib.spec @@ -1,7 +1,7 @@ # # spec file for package json-glib # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands. # # All modifications and additions to the file contributed by third parties @@ -21,9 +21,9 @@ Name: json-glib Version: 1.4.2 Release: 0 Summary: Library for JavaScript Object Notation format -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ -Url: http://live.gnome.org/JsonGlib +URL: http://live.gnome.org/JsonGlib Source0: http://download.gnome.org/sources/json-glib/1.4/%{name}-%{version}.tar.xz Source99: baselibs.conf BuildRequires: glib2-devel >= 2.46 @@ -106,24 +106,21 @@ translation-update-upstream %install %meson_install -find %{buildroot}%{_libdir} -name '*.la' -delete -print +find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name}-1.0 %post -n libjson-glib-1_0-0 -p /sbin/ldconfig - %postun -n libjson-glib-1_0-0 -p /sbin/ldconfig %files -n libjson-glib-1_0-0 -%defattr(-,root,root) -%doc COPYING +%license COPYING + %{_libdir}/*.so.* %files -n typelib-1_0-Json-1_0 -%defattr(-,root,root) %{_libdir}/girepository-1.0/Json-1.0.typelib %files devel -%defattr(-,root,root) %doc NEWS README.md # Those could potentially be split in a -tools package, but are never used by non-devs. %{_bindir}/json-glib-format