From ea68c161ec27b774489bd435aba595536c8d1a19 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova <jples...@redhat.com> Date: Tue, 11 Apr 2017 17:53:43 +0200 Subject: Initial import
--- .gitignore | 1 + perl-Mock-Config.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 50 insertions(+) create mode 100644 perl-Mock-Config.spec diff --git a/.gitignore b/.gitignore index e69de29..f21802f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Mock-Config-0.03.tar.gz diff --git a/perl-Mock-Config.spec b/perl-Mock-Config.spec new file mode 100644 index 0000000..c8c0134 --- /dev/null +++ b/perl-Mock-Config.spec @@ -0,0 +1,48 @@ +Name: perl-Mock-Config +Version: 0.03 +Release: 1%{?dist} +Summary: Temporarily set Config or XSConfig values +License: Artistic 2.0 +URL: http://search.cpan.org/dist/Mock-Config/ +Source0: http://www.cpan.org/authors/id/R/RU/RURBAN/Mock-Config-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: make +BuildRequires: perl +BuildRequires: perl-generators +BuildRequires: perl(:VERSION) >= 5.6 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time +BuildRequires: perl(Config) +# Tests +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(warnings) + +%description +This module can be for temporarily set Config or XSConfig values. + +%prep +%setup -q -n Mock-Config-%{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 +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Apr 11 2017 Jitka Plesnikova <jples...@redhat.com> - 0.03-1 +- Initial release diff --git a/sources b/sources index e69de29..d0a69ae 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (Mock-Config-0.03.tar.gz) = 6e61e8edc3226b133eb4b49358cccb45a8eb7da5b56eed0d75ce1503b5ef91c7ea84606ef3bd482e3ac8dc3d66226aa3065d835547b4e807729d909eae88c8c0 -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-Mock-Config.git/commit/?h=master&id=ea68c161ec27b774489bd435aba595536c8d1a19 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org