Modernize spec file

epel9
Petr Písař 7 years ago
parent 32baf15a35
commit 5b9191c823

@ -1,6 +1,6 @@
Name: perl-Inline-C
Version: 0.78
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Write Perl subroutines in C
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Inline-C/
@ -8,14 +8,15 @@ Source0: http://search.cpan.org/CPAN/authors/id/T/TI/TINITA/Inline-C-%{ve
BuildArch: noarch
# Build
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.10
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.00
BuildRequires: perl(File::ShareDir::Install)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Runtime
BuildRequires: gcc
BuildRequires: perl-devel
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
@ -47,6 +48,8 @@ BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Warn) >= 0.23
BuildRequires: perl(version) >= 0.77
BuildRequires: perl(YAML::XS)
# It executes C compiler to build generated XS code
Requires: gcc
# It executes make
Requires: make
# It executes "perl Makefile.PL"
@ -92,6 +95,9 @@ make test
%{_mandir}/man3/*
%changelog
* Tue Mar 06 2018 Petr Pisar <ppisar@redhat.com> - 0.78-6
- Modernize spec file
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Loading…
Cancel
Save