diff --git a/accountsservice.changes b/accountsservice.changes index 84576b1..7815513 100644 --- a/accountsservice.changes +++ b/accountsservice.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 28 16:22:37 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Fri Dec 22 03:05:02 UTC 2017 - qzheng@suse.com diff --git a/accountsservice.spec b/accountsservice.spec index 175462c..2875885 100644 --- a/accountsservice.spec +++ b/accountsservice.spec @@ -1,7 +1,7 @@ # # spec file for package accountsservice # -# 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: accountsservice Version: 0.6.45 Release: 0 Summary: D-Bus Service to Manipulate User Account Information -License: GPL-3.0+ +License: GPL-3.0-or-later Group: System/Daemons -Url: http://www.freedesktop.org/wiki/Software/AccountsService/ +URL: http://www.freedesktop.org/wiki/Software/AccountsService/ Source: http://www.freedesktop.org/software/accountsservice/%{name}-%{version}.tar.xz # WARNING: do not remove/significantly change patch0 without updating the relevant patch in gdm too # PATCH-FIX-OPENSUSE accountsservice-sysconfig.patch bnc#688071 vuntz@opensuse.org -- Read/write autologin configuration from sysconfig, like gdm (see gdm-sysconfig-settings.patch) @@ -37,6 +37,7 @@ Patch3: remove-no-longer-used-system-accounts.patch BuildRequires: gnome-common BuildRequires: gobject-introspection-devel BuildRequires: intltool +BuildRequires: pkgconfig # needed for patch0 BuildRequires: vala BuildRequires: pkgconfig(glib-2.0) @@ -44,7 +45,6 @@ BuildRequires: pkgconfig(libsystemd) >= 186 BuildRequires: pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(systemd) Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build %{?systemd_requires} %description @@ -88,6 +88,7 @@ The accountsservice server provides a set of D-Bus interfaces for querying and manipulating user account information. %lang_package + %prep %setup -q %patch0 -p1 @@ -108,7 +109,7 @@ make %{?_smp_mflags} %install %make_install %find_lang accounts-service -rm -f %{buildroot}%{_libdir}/*.la +find %{buildroot} -type f -name "*.la" -delete -print %pre %service_add_pre accounts-daemon.service @@ -123,12 +124,11 @@ rm -f %{buildroot}%{_libdir}/*.la %service_del_postun accounts-daemon.service %post -n libaccountsservice0 -p /sbin/ldconfig - %postun -n libaccountsservice0 -p /sbin/ldconfig %files -%defattr(-,root,root,-) -%doc AUTHORS COPYING NEWS README +%license COPYING +%doc AUTHORS NEWS README %{_unitdir}/accounts-daemon.service %{_sysconfdir}/dbus-1/system.d/org.freedesktop.Accounts.conf %{_libexecdir}/accounts-daemon @@ -142,15 +142,12 @@ rm -f %{buildroot}%{_libdir}/*.la %dir %{_localstatedir}/lib/AccountsService/icons %files -n libaccountsservice0 -%defattr(-,root,root,-) %{_libdir}/*.so.0* %files -n typelib-1_0-AccountsService-1_0 -%defattr(-,root,root) %{_libdir}/girepository-1.0/AccountsService-1.0.typelib %files devel -%defattr(-,root,root,-) %doc %{_datadir}/gtk-doc/html/lib%{name}/ %{_libdir}/*.so %{_libdir}/pkgconfig/accountsservice.pc