Accepting request 1140034 from home:bmwiedemann:branches:devel:languages:perl

Use %patch0 to fix compilation with rpm-4.19

OBS-URL: https://build.opensuse.org/request/show/1140034
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-GD-Graph3d?expand=0&rev=21
This commit is contained in:
Pedro Monreal Gonzalez 2024-01-22 15:07:41 +00:00 committed by Git OBS Bridge
parent eb88f7bc22
commit 2501b75620
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jan 20 02:05:57 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
- Use %patch0 to fix compilation with rpm-4.19
-------------------------------------------------------------------
Tue Mar 13 15:13:56 UTC 2018 - crrodriguez@opensuse.org

View File

@ -33,7 +33,7 @@ Summary: 3d extension for perl-GDGraph
License: Artistic-1.0
Group: Development/Libraries/Perl
Source: GD-Graph3d-%{version}.tar.gz
Patch: GD-Graph3d-trim_miter.diff
Patch0: GD-Graph3d-trim_miter.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
@ -44,7 +44,7 @@ graph using Lincoln Stein's GD.pm.
%prep
%setup -n GD-Graph3d-%{version}
%patch -p1
%patch0 -p1
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"