Hello community, here is the log from the commit of package razor-agents for openSUSE:Factory checked in at 2015-07-05 17:57:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/razor-agents (Old) and /work/SRC/openSUSE:Factory/.razor-agents.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "razor-agents" Changes: -------- --- /work/SRC/openSUSE:Factory/razor-agents/razor-agents.changes 2013-08-27 21:22:11.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.razor-agents.new/razor-agents.changes 2015-07-05 17:57:11.000000000 +0200 @@ -1,0 +2,8 @@ +Thu Jun 11 10:58:46 UTC 2015 - [email protected] + +- razor-agents-perl522.patch: fix razor man page installation with + perl-5.22 +- updated .spec file: "Require" only module packages actually used by + razor-agents-2.85 + +------------------------------------------------------------------- New: ---- razor-agents-perl522.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ razor-agents.spec ++++++ --- /var/tmp/diff_new_pack.XrlyaL/_old 2015-07-05 17:57:11.000000000 +0200 +++ /var/tmp/diff_new_pack.XrlyaL/_new 2015-07-05 17:57:11.000000000 +0200 @@ -17,8 +17,6 @@ Name: razor-agents -BuildRequires: perl-Net-DNS -BuildRequires: perl-URI %if 0%{?suse_version} && 0%{?suse_version} < 1200 BuildRequires: perl-macros %endif @@ -31,6 +29,7 @@ Url: http://razor.sourceforge.net/ Source: %{name}-%{version}.tar.bz2 Source1: README.SUSE +Patch0: razor-agents-perl522.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} @@ -62,12 +61,8 @@ Summary: The required perl modules for razor-agents License: Artistic-1.0 Group: Development/Languages/Perl -Requires: perl-Digest-HMAC Requires: perl-Digest-SHA1 -Requires: perl-HTML-SimpleParse -Requires: perl-Net-DNS Requires: perl-URI -Requires: perl-XML-Simple %description -n perl-razor-agents razor-agents are little programs to retrieve or update information @@ -83,6 +78,7 @@ %prep %setup cp %{S:1} . +%patch0 %build perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" ++++++ razor-agents-perl522.patch ++++++ newer EU::MM versions (notably the version included in perl-5.22.0) enclose variable references in double-quotes this patch fixes razor man page installation when such a version is used, while (supposedly :-) not breaking on older perl installations --- Makefile.PL.orig 2007-05-09 00:47:53.000000000 +0200 +++ Makefile.PL 2015-06-05 09:41:51.567476568 +0200 @@ -58,9 +58,12 @@ docs/razor-whitelist.pod \ docs/razor-agents.pod INST_MAN5DIR = blib/man5 -INSTALLMAN5DIR = $(DESTDIR)$(PREFIX)/share/man/man5 -INSTALLSITEMAN5DIR = $(DESTDIR)$(SITEPREFIX)/share/man/man5 -INSTALLVENDORMAN5DIR = $(DESTDIR)$(VENDORPREFIX)/share/man/man5 +INSTALLMAN5DIR = $(PREFIX)/share/man/man5 +INSTALLSITEMAN5DIR = $(SITEPREFIX)/share/man/man5 +INSTALLVENDORMAN5DIR = $(VENDORPREFIX)/share/man/man5 +DESTINSTALLMAN5DIR = $(DESTDIR)$(INSTALLMAN35IR) +DESTINSTALLSITEMAN5DIR = $(DESTDIR)$(INSTALLSITEMAN5DIR) +DESTINSTALLVENDORMAN5DIR = $(DESTDIR)$(INSTALLVENDORMAN5DIR) MAN5EXT = 5 # end razor-agents @@ -139,10 +142,9 @@ my $self = shift; my $inherited = $self->SUPER::install(@_); - my $man5 = q{ \\ - $(INST_MAN5DIR) $(INSTALLMAN5DIR)}; + my $man5 = q{$(INST_MAN5DIR)}; - $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN1DIR\))/$1$man5/gm; + $inherited =~ s/((("?)\$\((?:DEST)?INSTALL\w*MA)N1(DIR\)"?))/$1 \\\n\t\t$3$man5$3 $2N5$4/gm; return $inherited; }
