commit 3b7f0e9443032e2fc45d051bdc618e41d613ea4b
Author: Jitka Plesnikova <jples...@redhat.com>
Date:   Mon Nov 19 10:33:12 2012 +0100

    1.322 bump. Clean up spec.

 .gitignore             |    1 +
 perl-Pod-Markdown.spec |   15 ++++++++++-----
 sources                |    2 +-
 3 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8446bab..0035ac9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /Pod-Markdown-1.320.tar.gz
 /Pod-Markdown-1.321.tar.gz
+/Pod-Markdown-1.322.tar.gz
diff --git a/perl-Pod-Markdown.spec b/perl-Pod-Markdown.spec
index 68f8edc..4f39b4a 100644
--- a/perl-Pod-Markdown.spec
+++ b/perl-Pod-Markdown.spec
@@ -1,5 +1,5 @@
 Name:           perl-Pod-Markdown
-Version:        1.321
+Version:        1.322
 Release:        1%{?dist}
 Summary:        Convert POD to Markdown
 License:        GPL+ or Artistic
@@ -18,7 +18,7 @@ BuildRequires:  perl(Pod::Parser)
 BuildRequires:  perl(Test::Differences)
 BuildRequires:  perl(Test::More) >= 0.88
 BuildRequires:  perl(Test::Script) >= 1.05
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This module subclasses Pod::Parser and converts POD to Markdown.
@@ -27,14 +27,13 @@ This module subclasses Pod::Parser and converts POD to 
Markdown.
 %setup -q -n Pod-Markdown-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
@@ -48,6 +47,12 @@ make test
 %{_bindir}/*
 
 %changelog
+* Mon Nov 19 2012 Jitka Plesnikova <jples...@redhat.com> - 1.322-1
+- 1.322 bump
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+- Don't use macros for commands
+- Don't need to remove empty directories from the buildroot
+
 * Mon Oct 29 2012 Jitka Plesnikova <jples...@redhat.com> - 1.321-1
 - 1.321 bump
 
diff --git a/sources b/sources
index 6f65eed..f181ccb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-07c657ee0569a09205d4f2a30bdd5e1f  Pod-Markdown-1.321.tar.gz
+f53d49154627afd90323ee273824173e  Pod-Markdown-1.322.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to