This commit is contained in:
Petr Písař 2015-10-13 14:57:50 +02:00
parent 0d5e3a12ea
commit 48661f7619
3 changed files with 48 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/Fedora-VSP-0.001.tar.gz

46
perl-Fedora-VSP.spec Normal file
View 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

View File

@ -0,0 +1 @@
cb0b344371239fa66f3d180a9c7ac6da Fedora-VSP-0.001.tar.gz