From 6ad57a6fa6cc67a6a0b7d68ecd4fbb6d1353556c Mon Sep 17 00:00:00 2001 From: Robert Scheck <rob...@fedoraproject.org> Date: Tue, 29 Nov 2016 08:21:57 +0100 Subject: Added patch to unbreak parallel make (#1379566)
--- perl-Razor-Agent-2.85-parallel-make.patch | 20 ++++++++++++++++++++ perl-Razor-Agent.spec | 7 ++++++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 perl-Razor-Agent-2.85-parallel-make.patch diff --git a/perl-Razor-Agent-2.85-parallel-make.patch b/perl-Razor-Agent-2.85-parallel-make.patch new file mode 100644 index 0000000..0de4ec8 --- /dev/null +++ b/perl-Razor-Agent-2.85-parallel-make.patch @@ -0,0 +1,20 @@ +$NetBSD$ + + manifypods-razor depends on INST_MAN5DIR which gets created by the 'config' + target. Without this, there may problems building with parallel make. + +See also: + - https://sourceforge.net/p/razor/bugs/67/ + - https://bugzilla.redhat.com/show_bug.cgi?id=1379566 + +--- Makefile.PL.orig 2007-05-09 00:47:53.000000000 +0200 ++++ Makefile.PL +@@ -115,7 +115,7 @@ sub MY::manifypods { + # begin razor-agents + %s + +-manifypods-razor : docs/razor-agent.conf.pod \ ++manifypods-razor : config docs/razor-agent.conf.pod \ + docs/razor-agents.pod \ + docs/razor-whitelist.pod + $(POD2MAN) \ diff --git a/perl-Razor-Agent.spec b/perl-Razor-Agent.spec index 8584640..713f734 100644 --- a/perl-Razor-Agent.spec +++ b/perl-Razor-Agent.spec @@ -4,13 +4,14 @@ Summary: Use a Razor catalogue server to filter spam messages Name: perl-Razor-Agent Version: 2.85 -Release: 23%{?dist} +Release: 24%{?dist} License: Artistic 2.0 Group: Applications/Internet URL: http://razor.sourceforge.net/ Source: http://dl.sourceforge.net/razor/razor-agents-%{version}.tar.bz2 Patch0: razor-agents-2.85-use-sha-not-sha1.patch Patch1: perl-Razor-Agent-2.85-mandir.patch +Patch2: perl-Razor-Agent-2.85-parallel-make.patch Requires: perl(Net::DNS), perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl-devel BuildRequires: perl-generators @@ -37,6 +38,7 @@ Agents on the network. %setup -q -n razor-agents-%{version} %patch0 -p1 %patch1 -p1 +%patch2 -p0 %build export CFLAGS="$RPM_OPT_FLAGS" @@ -82,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man*/* %changelog +* Tue Nov 29 2016 Robert Scheck <rob...@fedoraproject.org> 2.85-24 +- Added patch to unbreak parallel make (#1379566) + * Sun May 15 2016 Jitka Plesnikova <jples...@redhat.com> - 2.85-23 - Perl 5.24 rebuild -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-Razor-Agent.git/commit/?h=master&id=6ad57a6fa6cc67a6a0b7d68ecd4fbb6d1353556c _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org