Package LICENSE file
Also: - Drop legacy spec file elements not needed for EL-6 onwards - Simplify find command using -delete
This commit is contained in:
parent
0795510e99
commit
7727e44ae0
@ -1,14 +1,15 @@
|
|||||||
Name: perl-SUPER
|
Name: perl-SUPER
|
||||||
Version: 1.20141117
|
Version: 1.20141117
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Sane superclass method dispatcher
|
Summary: Sane superclass method dispatcher
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
|
||||||
URL: http://search.cpan.org/dist/SUPER/
|
URL: http://search.cpan.org/dist/SUPER/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/SUPER-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/SUPER-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# =============== Module Build =================
|
# =============== Module Build =================
|
||||||
|
BuildRequires: coreutils
|
||||||
|
BuildRequires: findutils
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
@ -41,23 +42,29 @@ perl Makefile.PL INSTALLDIRS=vendor
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%if 0%{?_licensedir:1}
|
||||||
|
%license LICENSE
|
||||||
|
%else
|
||||||
|
%doc LICENSE
|
||||||
|
%endif
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%{perl_vendorlib}/SUPER.pm
|
%{perl_vendorlib}/SUPER.pm
|
||||||
%{_mandir}/man3/SUPER.3*
|
%{_mandir}/man3/SUPER.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 27 2016 Paul Howarth <paul@city-fan.org> - 1.20141117-6
|
||||||
|
- Package LICENSE file
|
||||||
|
- Drop legacy spec file elements not needed for EL-6 onwards
|
||||||
|
- Simplify find command using -delete
|
||||||
|
|
||||||
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.20141117-5
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.20141117-5
|
||||||
- Perl 5.24 rebuild
|
- Perl 5.24 rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user