diff --git a/libsecret.changes b/libsecret.changes index c696e7b..650432f 100644 --- a/libsecret.changes +++ b/libsecret.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 28 16:36:16 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Mon Jul 17 15:25:56 UTC 2017 - dimstar@opensuse.org diff --git a/libsecret.spec b/libsecret.spec index 39c0c20..a82dbb0 100644 --- a/libsecret.spec +++ b/libsecret.spec @@ -1,7 +1,7 @@ # # spec file for package libsecret # -# 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 @@ -17,14 +17,13 @@ %define have_lang 1 - Name: libsecret Version: 0.18.5 Release: 0 Summary: Library for accessing the Secret Service API -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: System/Libraries -Url: https://wiki.gnome.org/Projects/Libsecret +URL: https://wiki.gnome.org/Projects/Libsecret Source0: http://download.gnome.org/sources/libsecret/0.18/%{name}-%{version}.tar.xz Source99: baselibs.conf # PATCH-FIX-UPSTREAM libsecret-secret-size.patch bgo#778357 dimstar@opensuse.org -- Ensure that generated secret occupies the same number of bytes as prime. @@ -36,13 +35,13 @@ BuildRequires: fdupes BuildRequires: gobject-introspection-devel >= 1.29 BuildRequires: intltool BuildRequires: libgcrypt-devel >= 1.2.2 +BuildRequires: pkgconfig BuildRequires: translation-update-upstream BuildRequires: vala >= 0.17.2.12 BuildRequires: xsltproc BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.38.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description libsecret is a library for storing and retrieving passwords and other @@ -92,6 +91,7 @@ secrets. It communicates with the "Secret Service" using DBus. %if %{have_lang} %lang_package %endif + %prep %setup -q %patch0 -p1 @@ -104,7 +104,7 @@ translation-update-upstream %configure \ --disable-static #make %{?_smp_mflags} V=1 -make V=1 +make %{?_smp_mflags} V=1 %install %make_install @@ -115,25 +115,21 @@ find %{buildroot} -type f -name "*.la" -delete -print %fdupes %{buildroot} %post -n libsecret-1-0 -p /sbin/ldconfig - %postun -n libsecret-1-0 -p /sbin/ldconfig %files -n libsecret-1-0 -%defattr (-, root, root) -%doc AUTHORS ChangeLog COPYING NEWS README +%license COPYING +%doc AUTHORS ChangeLog NEWS README %{_libdir}/libsecret-1.so.* %files -n typelib-1_0-Secret-1 -%defattr(-,root,root) %{_libdir}/girepository-1.0/Secret-1.typelib %files tools -%defattr(-,root,root) %{_bindir}/secret-tool %{_mandir}/man1/secret-tool.1%{?ext_man} %files devel -%defattr (-, root, root) %{_libdir}/libsecret-1.so %{_libdir}/pkgconfig/libsecret-1.pc %{_libdir}/pkgconfig/libsecret-unstable.pc