Accepting request 1151787 from home:dimstar:Factory

- Use %patch -P N instead of deprecated %patchN.

- Use %patch -P N instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/request/show/1151787
OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=186
This commit is contained in:
Marcus Meissner 2024-03-01 12:42:56 +00:00 committed by Git OBS Bridge
parent 11c30ff0b2
commit 8e0366b997
6 changed files with 56 additions and 47 deletions

View File

@ -81,17 +81,17 @@ reliably than 'resgen'.
%prep %prep
%setup -q -n gettext-%{version} %setup -q -n gettext-%{version}
%patch0 %patch -P 0
%patch1 -p1 %patch -P 1 -p1
%patch2 %patch -P 2
%patch3 -p1 %patch -P 3 -p1
%patch4 %patch -P 4
%patch5 %patch -P 5
%patch6 -p1 %patch -P 6 -p1
%patch11 -p1 %patch -P 11 -p1
%patch13 -p1 %patch -P 13 -p1
%patch14 -p1 %patch -P 14 -p1
%patch15 -p1 %patch -P 15 -p1
%build %build
export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint -lm" export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint -lm"

View File

@ -66,17 +66,17 @@ java+swing.
%prep %prep
%setup -q -n gettext-%{version} %setup -q -n gettext-%{version}
%patch0 %patch -P 0
%patch1 -p1 %patch -P 1 -p1
%patch2 %patch -P 2
%patch3 -p1 %patch -P 3 -p1
%patch4 %patch -P 4
%patch5 %patch -P 5
%patch6 -p1 %patch -P 6 -p1
%patch11 -p1 %patch -P 11 -p1
%patch13 -p1 %patch -P 13 -p1
%patch14 -p1 %patch -P 14 -p1
%patch15 -p1 %patch -P 15 -p1
%build %build
# expect a couple "You should update your `aclocal.m4' by running aclocal." # expect a couple "You should update your `aclocal.m4' by running aclocal."

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 26 14:57:24 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N instead of deprecated %patchN.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 13 09:03:34 UTC 2024 - Antonio Larrosa <alarrosa@suse.com> Tue Feb 13 09:03:34 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -28,7 +28,6 @@ BuildRequires: libtool
# To get an updated linkdupes.sh (in case there are new dupes), temproarily enable: # To get an updated linkdupes.sh (in case there are new dupes), temproarily enable:
#BuildRequires: fdupes #BuildRequires: fdupes
%if %{without mini} %if %{without mini}
BuildRequires: automake >= 1.14
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: perl-libintl-perl BuildRequires: perl-libintl-perl
@ -153,17 +152,17 @@ This package provides headers and static libraries for libtextstyle
%prep %prep
%setup -q -n %{pacname}-%{version} %setup -q -n %{pacname}-%{version}
%patch0 %patch -P 0
%patch1 -p1 %patch -P 1 -p1
%patch2 %patch -P 2
%patch3 -p1 %patch -P 3 -p1
%patch4 %patch -P 4
%patch5 %patch -P 5
%patch6 -p1 %patch -P 6 -p1
%patch11 -p1 %patch -P 11 -p1
%patch13 -p1 %patch -P 13 -p1
%patch14 -p1 %patch -P 14 -p1
%patch15 -p1 %patch -P 15 -p1
%build %build
%define _lto_cflags %{nil} %define _lto_cflags %{nil}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 26 14:57:24 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N instead of deprecated %patchN.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 13 09:03:34 UTC 2024 - Antonio Larrosa <alarrosa@suse.com> Tue Feb 13 09:03:34 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -152,17 +152,17 @@ This package provides headers and static libraries for libtextstyle
%prep %prep
%setup -q -n %{pacname}-%{version} %setup -q -n %{pacname}-%{version}
%patch0 %patch -P 0
%patch1 -p1 %patch -P 1 -p1
%patch2 %patch -P 2
%patch3 -p1 %patch -P 3 -p1
%patch4 %patch -P 4
%patch5 %patch -P 5
%patch6 -p1 %patch -P 6 -p1
%patch11 -p1 %patch -P 11 -p1
%patch13 -p1 %patch -P 13 -p1
%patch14 -p1 %patch -P 14 -p1
%patch15 -p1 %patch -P 15 -p1
%build %build
%define _lto_cflags %{nil} %define _lto_cflags %{nil}