commit f36d6bd59643afcebbe4e8a71970be6f6cb37039 Author: Emmanuel Seyman <emmanuel@xxxxxxxxx> Date: Thu Sep 11 15:21:20 2014 +0200 Initial import. .gitignore | 1 + perl-LV.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 60 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..99a1540 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/LV-0.006.tar.gz diff --git a/perl-LV.spec b/perl-LV.spec new file mode 100644 index 0000000..6fc61d7 --- /dev/null +++ b/perl-LV.spec @@ -0,0 +1,58 @@ +Name: perl-LV +Version: 0.006 +Release: 2%{?dist} +Summary: Perl module to make lvalue subroutines easy and practical +License: GPL+ or Artistic + +URL: http://search.cpan.org/dist/LV/ +Source0: http://www.cpan.org/authors/id/T/TO/TOBYINK/LV-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Sentinel) +BuildRequires: perl(strict) +BuildRequires: perl(Sub::Name) +BuildRequires: perl(Test::More) >= 0.47 +BuildRequires: perl(Variable::Magic) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This module makes lvalue subroutines easy and practical to use. It's +inspired by the lvalue module which is sadly problematic because of the +existence of another module on CPAN called Lvalue. + +%prep +%setup -q -n LV-%{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 +%doc Changes CONTRIBUTING COPYRIGHT CREDITS README +%license LICENSE +%{perl_vendorlib}/LV* +%{_mandir}/man3/LV* + +%changelog +* Wed Sep 10 2014 Emmanuel Seyman <emmanuel@xxxxxxxxx> 0.006-2 +- Take into account review feedback (#1139009) + +* Wed Sep 03 2014 Emmanuel Seyman <emmanuel@xxxxxxxxx> 0.006-1 +- Initial specfile, based on the one autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..46f9c9e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5571793a65f49a1c890705bac3b31f56 LV-0.006.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel