1.322 bump. Clean up spec.
This commit is contained in:
parent
075e572237
commit
3b7f0e9443
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/Pod-Markdown-1.320.tar.gz
|
||||
/Pod-Markdown-1.321.tar.gz
|
||||
/Pod-Markdown-1.322.tar.gz
|
||||
|
||||
@ -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 <jplesnik@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 <jplesnik@redhat.com> - 1.321-1
|
||||
- 1.321 bump
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user