]> git.pld-linux.org Git - packages/Razor.git/commitdiff
- fix man5 install on perl 5.22 auto/th/Razor-2.85-11
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 27 Dec 2015 10:41:12 +0000 (11:41 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 27 Dec 2015 10:41:12 +0000 (11:41 +0100)
- rel 11

Razor.spec
man-build.patch [new file with mode: 0644]

index 40fe3cda9ac00d587d2e0a5e4c83f8e5f294513b..194f1c81fe17255e20150b5567c16ac14386dd7d 100644 (file)
@@ -8,12 +8,13 @@ Summary:      Collection of files for checking, reporting, and revoking spam
 Summary(pl.UTF-8):     Zbiór plików do sprawdzania, raportowania i odrzucania spamu
 Name:          Razor
 Version:       2.85
-Release:       10
+Release:       11
 License:       Artistic
 Group:         Applications/Mail
 Source0:       http://dl.sourceforge.net/razor/razor-agents-%{version}.tar.bz2
 # Source0-md5: 014d08db40187cb1316482191566b012
 URL:           http://razor.sourceforge.net/
+Patch0:                man-build.patch
 %if %{with autodeps}
 BuildRequires: perl-Class-Fields
 BuildRequires: perl-Digest-Nilsimsa
@@ -51,6 +52,7 @@ Moduły Perla dla Razora, klasa Razor2::.
 
 %prep
 %setup -q -n razor-agents-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
diff --git a/man-build.patch b/man-build.patch
new file mode 100644 (file)
index 0000000..6128e9e
--- /dev/null
@@ -0,0 +1,14 @@
+--- razor-agents-2.85/Makefile.PL.orig 2007-05-09 00:47:53.000000000 +0200
++++ razor-agents-2.85/Makefile.PL      2015-12-27 11:40:10.000000000 +0100
+@@ -140,9 +140,9 @@
+   my $inherited = $self->SUPER::install(@_);
+   my $man5 = q{ \\
+-              $(INST_MAN5DIR) $(INSTALLMAN5DIR)};
++              "$(INST_MAN5DIR)" "$(INSTALLMAN5DIR)"};
+-  $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN1DIR\))/$1$man5/gm;
++  $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN3DIR\)")/$1$man5/gm;
+   return $inherited;
+ }
This page took 0.055607 seconds and 4 git commands to generate.