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
This commit is contained in:
Takashi Iwai 2023-11-07 14:33:20 +00:00 committed by Git OBS Bridge
parent a503e785e0
commit e6dafb4e62
2 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 6 16:13:11 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix build with RPM 4.19: unnumbered patches are no longer
supported.
-------------------------------------------------------------------
Thu Nov 16 11:51:48 UTC 2017 - mpluskal@suse.com

View File

@ -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