[perl-p5-Palm] Fix build with unversioned %{_docdir_fmt}.

Ville Skyttä scop at fedoraproject.org
Mon Aug 5 21:09:45 UTC 2013


commit 9455bb59e5ddc20a019073753bd36d3a2791bb6c
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Aug 6 00:09:34 2013 +0300

    Fix build with unversioned %{_docdir_fmt}.

 perl-p5-Palm.spec |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/perl-p5-Palm.spec b/perl-p5-Palm.spec
index cba009c..2750ece 100644
--- a/perl-p5-Palm.spec
+++ b/perl-p5-Palm.spec
@@ -1,6 +1,6 @@
 Name:           perl-p5-Palm
 Version:        1.012
-Release:        12%{?dist}
+Release:        13%{?dist}
 Summary:        Palm OS utility functions
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/p5-Palm/
@@ -25,8 +25,6 @@ make %{?_smp_mflags}
 
 %install
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
-cp -r %{_builddir}/p5-Palm-%{version}/examples $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
@@ -37,13 +35,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 make test
 
 %files
-%doc Changes FAQ LICENSE README TODO
+%doc Changes FAQ LICENSE README TODO examples
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 %{_bindir}/pdbdump
 %{_mandir}/man1/pdbdump.1.gz
 
 %changelog
+* Mon Aug  5 2013 Ville Skyttä <ville.skytta at iki.fi> - 1.012-13
+- Fix build with unversioned %%{_docdir_fmt}.
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.012-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list