New rpmbuild api

OBS-URL: https://build.opensuse.org/package/show/Base:System/dicts?expand=0&rev=35
This commit is contained in:
Dr. Werner Fink 2023-10-12 13:11:32 +00:00 committed by Git OBS Bridge
parent 325c0711c3
commit 5b4dcd017f
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Oct 12 12:33:35 UTC 2023 - Dr. Werner Fink <werner@suse.de>
- New RPM API change ... now no %patch anymore only %patch0
-------------------------------------------------------------------
Mon Sep 27 09:39:33 UTC 2021 - Dr. Werner Fink <werner@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package dicts
#
# Copyright (c) 2021 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
@ -52,7 +52,7 @@ Source18: br.ispell-2.4.tar.bz2
Source19: finnish.tar.bz2
Source20: estonian.tar.bz2
Source21: dicts-rpmlintrc
Patch: prepare-dicts.dif
Patch0: prepare-dicts.dif
%global debug_package %{nil}
%description
@ -409,7 +409,7 @@ the package dicts.
patch -s -p0
make -f Makefile.Linux extract
rm Makefile.Linux
%patch -p0 -b .pdicts
%patch0 -p0 -b .pdicts
# unify the permissions of all files, to make fdupes working again (bnc#784670)
find . -type f -exec chmod 0644 {} +