From c7b9fb9d1ba3af547dfafc4e92f1e48bb0d818cf7a2edbbebc843a66d903e337 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 5 Mar 2018 13:53:48 +0000 Subject: [PATCH] Accepting request 581202 from GNOME:Next spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581202 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/sound-theme-freedesktop?expand=0&rev=16 --- sound-theme-freedesktop.changes | 5 +++++ sound-theme-freedesktop.spec | 19 +++++++------------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/sound-theme-freedesktop.changes b/sound-theme-freedesktop.changes index 8bfc45e..f69d3f8 100644 --- a/sound-theme-freedesktop.changes +++ b/sound-theme-freedesktop.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 28 16:39:44 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Thu Jul 4 20:25:09 UTC 2013 - dimstar@opensuse.org diff --git a/sound-theme-freedesktop.spec b/sound-theme-freedesktop.spec index 3e5e416..7ff896d 100644 --- a/sound-theme-freedesktop.spec +++ b/sound-theme-freedesktop.spec @@ -1,7 +1,7 @@ # # spec file for package sound-theme-freedesktop # -# Copyright (c) 2013 SUSE LINUX Products 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 @@ -21,19 +21,18 @@ Version: 0.8 Release: 0 # For details on the licenses used, see CREDITS. Summary: freedesktop.org sound theme -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/Libraries -Url: http://0pointer.de/public/sound-theme-freedesktop.tar.gz +URL: http://0pointer.de/public/sound-theme-freedesktop.tar.gz Source0: http://people.freedesktop.org/~mccann/dist/%{name}-%{version}.tar.bz2 # COPYING in the tarball is a 0-byte file Source1: gpl-2.0.txt BuildRequires: fdupes BuildRequires: glib2-devel BuildRequires: intltool -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch Requires(post): /bin/touch Requires(postun): /bin/touch +BuildArch: noarch %description The default freedesktop.org sound theme following the XDG theming @@ -42,20 +41,17 @@ specification. (http://0pointer.de/public/sound-theme-spec.html). %prep %setup -q if [ ! -s COPYING ]; then - cp %{S:1} COPYING + cp %{SOURCE1} COPYING fi %build %configure -make %{?jobs:-j%jobs} +make %{?_smp_mflags} %install -%makeinstall +%make_install %fdupes %{buildroot}%{_datadir} -%clean -rm -rf %{buildroot} - %post /bin/touch --no-create %{_datadir}/sounds/freedesktop @@ -63,7 +59,6 @@ rm -rf %{buildroot} /bin/touch --no-create %{_datadir}/sounds/freedesktop %files -%defattr(-,root,root) %doc README %dir %{_datadir}/sounds/freedesktop %dir %{_datadir}/sounds/freedesktop/stereo