From 5931c324c3086a3ae5a9671acb3421cf125f6edd90553081dff25616bd8d0932 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 5 Mar 2018 13:49:39 +0000 Subject: [PATCH] Accepting request 581096 from GNOME:Next spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581096 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-patch-translation?expand=0&rev=56 --- gnome-patch-translation.changes | 5 +++++ gnome-patch-translation.spec | 21 ++++++++------------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/gnome-patch-translation.changes b/gnome-patch-translation.changes index 55027d8..b4caa0c 100644 --- a/gnome-patch-translation.changes +++ b/gnome-patch-translation.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 28 16:29:13 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Thu Sep 4 17:59:40 CEST 2014 - sbrabec@suse.cz diff --git a/gnome-patch-translation.spec b/gnome-patch-translation.spec index 2e0c73c..86b0aea 100644 --- a/gnome-patch-translation.spec +++ b/gnome-patch-translation.spec @@ -1,7 +1,7 @@ # # spec file for package gnome-patch-translation # -# Copyright (c) 2014 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 @@ -20,7 +20,7 @@ Name: gnome-patch-translation Version: 13.2 Release: 0 Summary: Collect and Merge Translations From RPM Patches -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/GUI/GNOME Source: gnome-patch-translation-files.tar.bz2 Source1: gnome-patch-translation.tar.bz2 @@ -35,7 +35,6 @@ Source9: update-step2-update-strings-from-packages Source10: update-step3-upload-strings-to-lcn Source11: update-solve-upload-conflict Source12: gnome-patch-translation.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: intltool BuildArch: noarch @@ -44,23 +43,19 @@ This package provides scripts for collecting strings changed in RPM patches and merging them to one translation compendium. %prep -%setup -T -a0 -a1 -c %{name}-%{version} -cp -a %{S:2} %{S:3} %{S:4} %{S:5} %{S:6} . +%setup -q -T -a0 -a1 -c %{name}-%{version} +cp -a %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} . %build sh gnome-patch-translation-merge %install -mkdir -p $RPM_BUILD_ROOT%{_bindir} -install gnome-patch-translation-prepare gnome-patch-translation-update $RPM_BUILD_ROOT%{_bindir} -mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome-patch-translation -cp gnome-patch-translation/*.po gnome-patch-translation-merged/*.pot $RPM_BUILD_ROOT%{_datadir}/gnome-patch-translation - -%clean -rm -rf $RPM_BUILD_ROOT +mkdir -p %{buildroot}%{_bindir} +install gnome-patch-translation-prepare gnome-patch-translation-update %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_datadir}/gnome-patch-translation +cp gnome-patch-translation/*.po gnome-patch-translation-merged/*.pot %{buildroot}%{_datadir}/gnome-patch-translation %files -%defattr(-,root,root) %doc README %{_bindir}/* %{_datadir}/gnome-patch-translation