diff --git a/.gitignore b/.gitignore index d233c9e..69ed56e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ Inline-0.46.tar.gz /Inline-0.47.tar.gz /Inline-0.48.tar.gz /Inline-0.49.tar.gz +/Inline-0.50.tar.gz diff --git a/perl-Inline.spec b/perl-Inline.spec index d22b40d..9beec07 100644 --- a/perl-Inline.spec +++ b/perl-Inline.spec @@ -1,28 +1,38 @@ Name: perl-Inline -Version: 0.49 -Release: 2%{?dist} +Version: 0.50 +Release: 1%{?dist} Summary: Inline Perl module - Group: Development/Libraries License: GPL+ or Artistic Url: http://search.cpan.org/dist/Inline/ Source0: http://search.cpan.org/CPAN/authors/id/S/SI/SISYPHUS/Inline-%{version}.tar.gz - BuildArch: noarch +BuildRequires: perl(base) +BuildRequires: perl(AutoLoader) BuildRequires: perl(Carp) +BuildRequires: perl(Cwd) +BuildRequires: perl(Data::Dumper) BuildRequires: perl(Digest::MD5) +BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) -BuildRequires: perl(Parse::RecDescent) +BuildRequires: perl(File::Spec::Unix) BuildRequires: perl(Inline::Files) -# tests +BuildRequires: perl(Parse::RecDescent) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Warn) +# Optional tests +#Optional, not yet in Fedora +#BuildRequires: perl(Inline::Filters) +#BuildRequires: perl(Inline::Struct) +BuildRequires: perl(Time::HiRes) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # not automatically detected -Requires: perl(Data::Dumper) Requires: perl(Digest::MD5) +%{?perl_default_filter} +%global __provides_exclude %{?__provides_exclude}|perl\\(Inline\\)$ + %description The Inline module allows you to put source code from other programming languages directly "inline" in a Perl script or module. The code is @@ -42,44 +52,34 @@ once. Code that is Inlined into distributed modules (like on the CPAN) will get compiled when the module is installed, so the end user will never notice the compilation time. - -%{?perl_default_filter} -%global __provides_exclude %{?__provides_exclude}|perl\\(Inline\\)$ - %prep %setup -q -n Inline-%{version} - %build # trick avoiding installation other modules -%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null +perl Makefile.PL INSTALLDIRS=vendor < /dev/null make %{?_smp_mflags} - %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* - +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* %check make test - -%clean -rm -rf $RPM_BUILD_ROOT - - %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/Inline* %{perl_vendorlib}/auto/ %{_mandir}/man3/*.3* - %changelog +* Tue Feb 07 2012 Petr Ĺ abata - 0.50-1 +- 0.50 bump +- Minor cleanup + * Fri Jan 13 2012 Fedora Release Engineering - 0.49-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index 554f2b5..d3f9d6d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0deecdc161fed17c51cd29cd05190081 Inline-0.49.tar.gz +cb9377b494819924bddf2de20c90f3ab Inline-0.50.tar.gz