[perl-XML-XPath/f18] Revert the patch. It breaks backward compatibility for some apps. The xpath has still man page insta
Marcela Mašláňová
mmaslano at fedoraproject.org
Tue Oct 16 09:21:33 UTC 2012
commit 9827575ee31c584cc720b8cbf25826373dc4d5c3
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date: Tue Oct 16 11:21:24 2012 +0200
Revert the patch. It breaks backward compatibility for some apps. The xpath has still man page installed.
perl-XML-XPath.spec | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/perl-XML-XPath.spec b/perl-XML-XPath.spec
index 6ed7730..07e794d 100644
--- a/perl-XML-XPath.spec
+++ b/perl-XML-XPath.spec
@@ -1,6 +1,6 @@
Name: perl-XML-XPath
Version: 1.13
-Release: 19%{?dist}
+Release: 20%{?dist}
Summary: XPath parser and evaluator for Perl
@@ -9,7 +9,6 @@ License: GPL+ or Artistic
URL: http://search.cpan.org/dist/XML-XPath/
Source0: http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-XPath-1.13.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Patch0: xpath.man.patch
BuildArch: noarch
BuildRequires: perl(XML::Parser)
@@ -25,7 +24,6 @@ this as they support functionality beyond XPath.
%prep
%setup -q -n XML-XPath-%{version}
-%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -39,6 +37,11 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
+mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/
+cat >> $RPM_BUILD_ROOT/%{_mandir}/man1/xpath.1 << EOF
+.so man3/XML::XPath.3pm
+EOF
+
%check
make test
@@ -57,6 +60,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Oct 16 2012 Marcela Mašláňová <mmaslano at redhat.com> - 1.13-20
+- revert the patch. It breaks backward compatibility for some apps.
+- the xpath has still man page installed.
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.13-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list