From 36f9326f287011da5ca1e3b8ba42af29712cdd2d85ade3acf809e6149655a33f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 7 Nov 2023 10:32:00 +0000 Subject: [PATCH] Accepting request 1123529 from home:dimstar:Factory - Fix build with RPM 4.19: unnumbered patches are no longer supported. OBS-URL: https://build.opensuse.org/request/show/1123529 OBS-URL: https://build.opensuse.org/package/show/Base:System/translation-update-upstream?expand=0&rev=69 --- translation-update-upstream.changes | 6 ++++++ translation-update-upstream.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/translation-update-upstream.changes b/translation-update-upstream.changes index 293de62..23136fb 100644 --- a/translation-update-upstream.changes +++ b/translation-update-upstream.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 6 09:00:23 UTC 2023 - Dominique Leuenberger + +- Fix build with RPM 4.19: unnumbered patches are no longer + supported. + ------------------------------------------------------------------- Tue Mar 10 14:37:34 CET 2020 - sbrabec@suse.com diff --git a/translation-update-upstream.spec b/translation-update-upstream.spec index 2e4f1f0..a2b11e5 100644 --- a/translation-update-upstream.spec +++ b/translation-update-upstream.spec @@ -1,7 +1,7 @@ # # spec file for package translation-update-upstream # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -37,7 +37,7 @@ Source8: msgheadermerge-parse Source9: msgheadermerge-empty.pot Source10: %{name}-embedded-README Source11: translation-update-mandatory-%{version}.tar.bz2 -Patch: %{name}-embedded.patch +Patch0: %{name}-embedded.patch # Files below are package maintainer tools, not used for package build: Source50: upstream-collect.sh Source51: upstream-collect.conf @@ -89,7 +89,7 @@ cp -a %{S:6} %{S:7} %{S:8} %{S:9} . cp -a %{S:10} translation-update-upstream-embedded.README sed 's:@DATADIR@:%{_datadir}:g;s:@LIBEXECDIR@:%{_prefix}/lib:g' translation-update-upstream sed 's/@LIBEXECDIR@/\$BASE_DIR/g;s:@DATADIR@/translation-update-upstream:\$BASE_DIR/translation-update-upstream/po:g;s/translation-update-upstream\./translation-update-upstream-embedded./g' translation-update-upstream-embedded.sh -%patch +%patch0 chmod +x translation-update-upstream-embedded.sh %build