You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Clone-Choose/perl-Clone-Choose.spec

77 lines
2.2 KiB

Name: perl-Clone-Choose
Version: 0.010
Release: 4%{?dist}
Summary: Choose appropriate clone utility
License: GPL+ or Artistic
URL: https://metacpan.org/release/Clone-Choose
Source0: https://cpan.metacpan.org/authors/id/H/HE/HERMES/Clone-Choose-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.8.1
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(lib)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time
BuildRequires: perl(Carp)
BuildRequires: perl(Module::Runtime)
# Tests
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More) >= 0.90
BuildRequires: perl(Test::Without::Module)
# Optional tests
BuildRequires: perl(Clone)
BuildRequires: perl(Clone::PP)
BuildRequires: perl(Storable)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
%{summary}.
%prep
%setup -q -n Clone-Choose-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
chmod -x %{buildroot}%{perl_vendorlib}/Clone/Choose.pm
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes README.md
%{perl_vendorlib}/Clone/
%{_mandir}/man3/*.3*
%changelog
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.010-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.010-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.010-2
- Perl 5.28 rebuild
* Tue Apr 17 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.010-1
- 0.010 bump
* Tue Apr 17 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.008-3
- Specify all dependencies; Modernize spec file
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.008-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Nov 20 2017 Tom Callaway <spot@fedoraproject.org> - 0.008-1
- initial package