From bf6467be73f802ceb39dc149f38b8234647319f4de2dfc9df215940fafd736b4 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 5 Mar 2018 13:54:07 +0000 Subject: [PATCH] Accepting request 581207 from GNOME:Next spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581207 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/hicolor-icon-theme?expand=0&rev=39 --- hicolor-icon-theme.changes | 5 +++++ hicolor-icon-theme.spec | 13 ++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/hicolor-icon-theme.changes b/hicolor-icon-theme.changes index fc07a0a..0b279b3 100644 --- a/hicolor-icon-theme.changes +++ b/hicolor-icon-theme.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 28 16:33:24 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Thu Sep 7 15:01:50 UTC 2017 - zaitor@opensuse.org diff --git a/hicolor-icon-theme.spec b/hicolor-icon-theme.spec index 18ec8c2..f334ccd 100644 --- a/hicolor-icon-theme.spec +++ b/hicolor-icon-theme.spec @@ -1,7 +1,7 @@ # # spec file for package hicolor-icon-theme # -# 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,13 +20,12 @@ Name: hicolor-icon-theme Version: 0.17 Release: 0 Summary: Fallback Icon Theme -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/X11/Utilities -Url: https://freedesktop.org/wiki/Software/icon-theme/ +URL: https://freedesktop.org/wiki/Software/icon-theme/ Source: http://icon-theme.freedesktop.org/releases/%{name}-%{version}.tar.xz Source1: macros.hicolor Source99: %{name}-rpmlintrc -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -41,15 +40,15 @@ theme specification. make %{?_smp_mflags} %install -make %{?_smp_mflags} DESTDIR=%{buildroot} install +%make_install touch %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache chmod -x COPYING # Install rpm macros install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.hicolor %files -%defattr(-, root, root) -%doc COPYING ChangeLog README +%license COPYING +%doc ChangeLog README %ghost %{_datadir}/icons/hicolor/icon-theme.cache %{_datadir}/icons/hicolor/ %{_sysconfdir}/rpm/macros.hicolor