Apply Jitkas patch: Update BR and clean up spec for modern rpmbuild.

epel9
Marcela Mašláňová 13 years ago
parent 5928077e9a
commit 8b4fb2b834

@ -3,18 +3,18 @@
Name: perl-Test-EOL
Version: 1.3
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Check the correct line endings in your project
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Test-EOL/
Source0: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Test-EOL-%{version}.tar.gz
Patch0: Test-EOL-1.0-old-EU::MM.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
# Simplify breaking dependency loops at bootstrap time
%if 0%{!?perl_bootstrap:1}
BuildRequires: perl(Pod::Coverage::TrustPod)
@ -22,8 +22,8 @@ BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::NoTabs) >= 1.2
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
@ -44,7 +44,6 @@ perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}
@ -52,15 +51,15 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%check
make test RELEASE_TESTING=1
%clean
rm -rf %{buildroot}
%files
%doc Changes LICENSE README
%{perl_vendorlib}/Test/
%{_mandir}/man3/Test::EOL.3pm*
%changelog
* Tue Aug 7 2012 Jitka Plesnikova <jplesnik@redhat.com>
- Update BR and clean up spec for modern rpmbuild
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

Loading…
Cancel
Save