Specify all dependencies
This commit is contained in:
parent
4d16e50cb1
commit
d22dab880d
@ -1,16 +1,20 @@
|
|||||||
Name: perl-B-Keywords
|
Name: perl-B-Keywords
|
||||||
Version: 1.12
|
Version: 1.12
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Lists of reserved barewords and symbol names
|
Summary: Lists of reserved barewords and symbol names
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/B-Keywords/
|
URL: http://search.cpan.org/dist/B-Keywords/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/B-Keywords-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/B-Keywords-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(YAML)
|
BuildRequires: perl(YAML)
|
||||||
|
# Tests
|
||||||
|
BuildRequires: perl(File::Spec)
|
||||||
|
BuildRequires: perl(lib)
|
||||||
|
BuildRequires: perl(Test)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
|
|
||||||
@ -28,7 +32,6 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make pure_install DESTDIR=$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 -type f -name .packlist -exec rm -f {} ';'
|
||||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
|
||||||
@ -39,18 +42,17 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
|
|||||||
make test
|
make test
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc Changes LICENSE
|
%doc Changes LICENSE
|
||||||
%{perl_vendorlib}/B/
|
%{perl_vendorlib}/B/
|
||||||
%{_mandir}/man3/B::Keywords.3pm*
|
%{_mandir}/man3/B::Keywords.3pm*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 1 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.12-4
|
||||||
|
- Add BR: perl(File::Spec), perl(lib), perl(Test), perl(Exporter)
|
||||||
|
- Clean up for modern rpmbuild
|
||||||
|
|
||||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user