Accepting request 582819 from GNOME:Factory
spec-cleaner (forwarded request 581232 from dimstar) OBS-URL: https://build.opensuse.org/request/show/582819 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/json-glib?expand=0&rev=41
This commit is contained in:
commit
914cfca3a9
@ -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
|
Tue Sep 12 21:37:26 UTC 2017 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package json-glib
|
# 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.
|
# Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -21,9 +21,9 @@ Name: json-glib
|
|||||||
Version: 1.4.2
|
Version: 1.4.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for JavaScript Object Notation format
|
Summary: Library for JavaScript Object Notation format
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/C and C++
|
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
|
Source0: http://download.gnome.org/sources/json-glib/1.4/%{name}-%{version}.tar.xz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
BuildRequires: glib2-devel >= 2.46
|
BuildRequires: glib2-devel >= 2.46
|
||||||
@ -106,24 +106,21 @@ translation-update-upstream
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
find %{buildroot}%{_libdir} -name '*.la' -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
%find_lang %{name}-1.0
|
%find_lang %{name}-1.0
|
||||||
|
|
||||||
%post -n libjson-glib-1_0-0 -p /sbin/ldconfig
|
%post -n libjson-glib-1_0-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -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
|
%files -n libjson-glib-1_0-0
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%doc COPYING
|
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files -n typelib-1_0-Json-1_0
|
%files -n typelib-1_0-Json-1_0
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/girepository-1.0/Json-1.0.typelib
|
%{_libdir}/girepository-1.0/Json-1.0.typelib
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc NEWS README.md
|
%doc NEWS README.md
|
||||||
# Those could potentially be split in a -tools package, but are never used by non-devs.
|
# Those could potentially be split in a -tools package, but are never used by non-devs.
|
||||||
%{_bindir}/json-glib-format
|
%{_bindir}/json-glib-format
|
||||||
|
Loading…
Reference in New Issue
Block a user