Initial import (perl-Ref-Util-0.020-2)

Ref::Util introduces several functions to help identify references in a faster
and smarter way.
This commit is contained in:
Paul Howarth 2016-08-08 16:36:14 +01:00
parent 2d09f9575e
commit 1f44731597
3 changed files with 69 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/Ref-Util-[0-9.]*.tar.gz

67
perl-Ref-Util.spec Normal file
View File

@ -0,0 +1,67 @@
Name: perl-Ref-Util
Version: 0.020
Release: 2%{?dist}
Summary: Utility functions for checking references
License: MIT
URL: http://search.cpan.org/dist/Ref-Util/
Source0: http://search.cpan.org/CPAN/authors/id/X/XS/XSAWYERX/Ref-Util-%{version}.tar.gz
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
# Module
BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: perl(XSLoader)
# Test Suite
BuildRequires: perl(constant)
BuildRequires: perl(Test::More)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Avoid provides for private objects
%{?perl_default_filter}
%description
Ref::Util introduces several functions to help identify references in a faster
and smarter way.
%prep
%setup -q -n Ref-Util-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} %{buildroot}
%check
make test
%files
%if 0%{?_licensedir:1}
%license LICENSE
%else
%doc LICENSE
%endif
%doc Changes README
%{perl_vendorarch}/auto/Ref/
%{perl_vendorarch}/Ref/
%{_mandir}/man3/Ref::Util.3*
%changelog
* Thu Jul 28 2016 Paul Howarth <paul@city-fan.org> - 0.020-2
- Sanitize for Fedora submission
* Thu Jul 28 2016 Paul Howarth <paul@city-fan.org> - 0.020-1
- Initial RPM version

View File

@ -0,0 +1 @@
a7078591083b9dea949709d7935cee25 Ref-Util-0.020.tar.gz