48661f7
Name:           perl-Fedora-VSP
48661f7
Version:        0.001
7f732b4
Release:        2%{?dist}
48661f7
Summary:        Perl version normalization for RPM
48661f7
License:        GPLv3+
48661f7
Group:          Development/Libraries
48661f7
URL:            https://ppisar.fedorapeople.org/Fedora-VSP/
48661f7
Source0:        %{url}Fedora-VSP-%{version}.tar.gz
48661f7
BuildArch:      noarch
56b993f
BuildRequires:  coreutils
56b993f
BuildRequires:  findutils
56b993f
BuildRequires:  make
48661f7
BuildRequires:  perl
48661f7
BuildRequires:  perl(ExtUtils::MakeMaker)
48661f7
# Run-time:
48661f7
BuildRequires:  perl(strict)
48661f7
BuildRequires:  perl(warnings)
48661f7
# Tests:
48661f7
BuildRequires:  perl(Test::More)
48661f7
BuildRequires:  perl(version)
48661f7
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
48661f7
48661f7
%description
48661f7
This module provides functions for normalizing Perl version strings for
48661f7
Red Hat Package (RPM) based Linux distributions.
48661f7
48661f7
%prep
48661f7
%setup -q -n Fedora-VSP-%{version}
48661f7
48661f7
%build
48661f7
perl Makefile.PL INSTALLDIRS=vendor
48661f7
make %{?_smp_mflags}
48661f7
48661f7
%install
48661f7
make pure_install DESTDIR=$RPM_BUILD_ROOT
48661f7
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
48661f7
%{_fixperms} $RPM_BUILD_ROOT/*
48661f7
48661f7
%check
48661f7
make test
48661f7
48661f7
%files
48661f7
%license COPYING
48661f7
%{perl_vendorlib}/*
48661f7
%{_mandir}/man3/*
48661f7
48661f7
%changelog
7f732b4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.001-2
7f732b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7f732b4
48661f7
* Fri Oct 09 2015 Petr Pisar <ppisar@redhat.com> 0.001-1
48661f7
- First package