|
|
|
@ -1,19 +1,17 @@
|
|
|
|
|
Name: perl-Set-Object
|
|
|
|
|
Version: 1.35
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 1.38
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: Artistic 2.0
|
|
|
|
|
Summary: Set of objects and strings
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Set-Object/
|
|
|
|
|
Source0: http://www.cpan.org/modules/by-module/Set/Set-Object-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
# Run-time
|
|
|
|
|
BuildRequires: perl(AutoLoader)
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
@ -31,7 +29,9 @@ BuildRequires: perl(Data::Dumper)
|
|
|
|
|
BuildRequires: perl(Devel::Peek)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
# Optional tests
|
|
|
|
|
BuildRequires: perl(Moose)
|
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
|
BuildRequires: perl(Test::LeakTrace)
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
|
BuildRequires: perl(threads)
|
|
|
|
@ -51,27 +51,20 @@ anything that is a reference is considered an object.
|
|
|
|
|
%setup -q -n Set-Object-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
# clean up buildroot
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc Changes.pod META.yml README
|
|
|
|
|
%{perl_vendorarch}/auto/*
|
|
|
|
@ -79,6 +72,9 @@ rm -rf %{buildroot}
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 21 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-1
|
|
|
|
|
- 1.38 bump; Modernize spec file
|
|
|
|
|
|
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.35-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|