Import
This commit is contained in:
parent
0d5e3a12ea
commit
48661f7619
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/Fedora-VSP-0.001.tar.gz
|
46
perl-Fedora-VSP.spec
Normal file
46
perl-Fedora-VSP.spec
Normal file
@ -0,0 +1,46 @@
|
||||
Name: perl-Fedora-VSP
|
||||
Version: 0.001
|
||||
Release: 1%{?dist}
|
||||
Summary: Perl version normalization for RPM
|
||||
License: GPLv3+
|
||||
Group: Development/Libraries
|
||||
URL: https://ppisar.fedorapeople.org/Fedora-VSP/
|
||||
Source0: %{url}Fedora-VSP-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Run-time:
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Tests:
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(version)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
This module provides functions for normalizing Perl version strings for
|
||||
Red Hat Package (RPM) based Linux distributions.
|
||||
|
||||
%prep
|
||||
%setup -q -n Fedora-VSP-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Oct 09 2015 Petr Pisar <ppisar@redhat.com> 0.001-1
|
||||
- First package
|
Loading…
Reference in New Issue
Block a user