From e6dafb4e62b5f202ce768b7454d109337235b77aaf231ea864ccbc7b93448b37 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 7 Nov 2023 14:33:20 +0000 Subject: [PATCH] Accepting request 1123645 from home:dimstar:Factory Fix build with RPM 4.19: unnumbered patches are no longer supported. OBS-URL: https://build.opensuse.org/request/show/1123645 OBS-URL: https://build.opensuse.org/package/show/Publishing/html-dtd?expand=0&rev=6 --- html-dtd.changes | 6 ++++++ html-dtd.spec | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/html-dtd.changes b/html-dtd.changes index 8863ec7..134671d 100644 --- a/html-dtd.changes +++ b/html-dtd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 6 16:13:11 UTC 2023 - Dominique Leuenberger + +- Fix build with RPM 4.19: unnumbered patches are no longer + supported. + ------------------------------------------------------------------- Thu Nov 16 11:51:48 UTC 2017 - mpluskal@suse.com diff --git a/html-dtd.spec b/html-dtd.spec index 2bd8e9e..a1e3568 100644 --- a/html-dtd.spec +++ b/html-dtd.spec @@ -1,7 +1,7 @@ # # spec file for package html-dtd # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: html-dtd BuildRequires: sgml-skel -Url: http://www.w3.org/MarkUp/ +URL: http://www.w3.org/MarkUp/ Provides: html_dtd Obsoletes: html_dtd %define regcat /usr/bin/sgml-register-catalog @@ -44,7 +44,7 @@ Source8: %{name}-README.SUSE Source9: CATALOG.html Source10: CATALOG.html-3.2 Source11: CATALOG.html-4.0 -Patch: html_dtd.dif +Patch0: html_dtd.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -77,8 +77,8 @@ mkdir html-4.01 (cd html-4.01 && tar zxf $RPM_SOURCE_DIR/html401.tgz) cp -p %{SOURCE7} . %{INSTALL_DATA} %{SOURCE8} README.SUSE -%patch -p1 -find . -type f | xargs chmod 644 +%patch0 -p1 +find . -type f | xargs chmod 644 find . -type d | xargs chmod 755 %build