[perl-XML-XPath] 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 10:46:54 UTC 2012
commit 7068ae13e177239a8e1ccb6913467c87e6784f17
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 | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/perl-XML-XPath.spec b/perl-XML-XPath.spec
index 399e16f..267e118 100644
--- a/perl-XML-XPath.spec
+++ b/perl-XML-XPath.spec
@@ -1,6 +1,6 @@
Name: perl-XML-XPath
Version: 1.13
-Release: 20%{?dist}
+Release: 21%{?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(Carp)
@@ -29,7 +28,6 @@ this as they support functionality beyond XPath.
%prep
%setup -q -n XML-XPath-%{version}
-%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -43,6 +41,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
@@ -61,8 +64,12 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Oct 16 2012 Marcela Mašláňová <mmaslano at redhat.com> - 1.13-21
+- revert the patch. It breaks backward compatibility for some apps.
+- the xpath has still man page installed.
+
* Fri Aug 24 2012 Jitka Plesnikova <jplesnik at redhat.com> - 1.13-20
-- Specify all dependencies.
+- Specify all dependencies.
* 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