Reviewed in bug #1595644.
f38
Petr Písař 7 years ago
parent f6a5b3e382
commit d55032263c

1
.gitignore vendored

@ -0,0 +1 @@
/UUID-URandom-0.001.tar.gz

@ -1,4 +0,0 @@
# perl-UUID-URandom
This Perl module provides a portable, secure generator of RFC-4122 version 4
random UUIDs.

@ -0,0 +1,53 @@
Name: perl-UUID-URandom
Version: 0.001
Release: 1%{?dist}
Summary: UUIDs based on /dev/urandom
License: ASL 2.0
URL: https://metacpan.org/release/UUID-URandom
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/UUID-URandom-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.8
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(Crypt::URandom) >= 0.36
BuildRequires: perl(Exporter) >= 5.57
# Tests:
BuildRequires: perl(File::Spec)
BuildRequires: perl(Test::More) >= 0.96
# Optional tests:
# CPAN::Meta not helpful
# CPAN::Meta::Prereqs not helpful
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This Perl module provides a portable, secure generator of RFC-4122 version 4
random UUIDs.
%prep
%setup -q -n UUID-URandom-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%license LICENSE
%doc Changes CONTRIBUTING.mkdn README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Jun 27 2018 Petr Pisar <ppisar@redhat.com> 0.001-1
- Specfile autogenerated by cpanspec 1.78.

@ -0,0 +1 @@
SHA512 (UUID-URandom-0.001.tar.gz) = ef7876eb0f7e1b794f81b18ce7d2d3c14f17e73fd5e5ab7d8cd7d5e8ea5f00aeee7f2d7bcb943554d7c1f4e695392d28260c91d7d5a750aa60a0b4a7730b2c16
Loading…
Cancel
Save