[perl-CGI-Untaint-date] fix build
Tom Callaway
spot at fedoraproject.org
Mon Jan 23 04:50:13 UTC 2012
commit c3bd5e6c75cc21e841235520017a2c48515536c8
Author: Tom Callaway <spot at fedoraproject.org>
Date: Sun Jan 22 23:50:12 2012 -0500
fix build
perl-CGI-Untaint-date.spec | 22 +++++++++-------------
1 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/perl-CGI-Untaint-date.spec b/perl-CGI-Untaint-date.spec
index f0cf7ab..572ad51 100644
--- a/perl-CGI-Untaint-date.spec
+++ b/perl-CGI-Untaint-date.spec
@@ -1,13 +1,11 @@
Name: perl-CGI-Untaint-date
Version: 1.00
-Release: 15%{?dist}
+Release: 16%{?dist}
Summary: Validate a date
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/CGI-Untaint-date/
Source0: http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/CGI-Untaint-date-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
BuildArch: noarch
BuildRequires: perl(CGI::Untaint) >= 0.07
BuildRequires: perl(Date::Simple) >= 0.01
@@ -15,10 +13,11 @@ BuildRequires: perl(Date::Manip) >= 5.00
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
-Requires: perl(CGI::Untaint) >= 0.07
-Requires: perl(Date::Simple) >= 0.01
-Requires: perl(Date::Manip) >= 5.00
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(Pod::Perldoc)
+Requires: perl(CGI::Untaint) >= 0.07
+Requires: perl(Date::Simple) >= 0.01
+Requires: perl(Date::Manip) >= 5.00
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
%{summary}.
@@ -33,7 +32,6 @@ perldoc -t perlartistic > Artistic
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
@@ -43,17 +41,15 @@ chmod -R u+w $RPM_BUILD_ROOT/*
# These tests fail on koji for some odd reason, but they work fine locally.
# make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes COPYING Artistic
%{perl_vendorlib}/CGI/Untaint
%{_mandir}/man3/*.3*
-
%changelog
+* Sun Jan 22 2012 Tom Callaway <spot at fedoraproject.org> - 1.00-16
+- fix build
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.00-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the perl-devel
mailing list