Revert the patch. It breaks backward compatibility for some apps. The xpath has still man page installed.

This commit is contained in:
Marcela Mašláňová 2012-10-16 11:21:24 +02:00
parent 8a0162916a
commit 7068ae13e1

View File

@ -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@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@redhat.com> - 1.13-20
- Specify all dependencies.
- Specify all dependencies.
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild