commit 27e48c3bcbd8ef483361c86e55fe9bcf51a7a19b Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Mon Jan 20 18:00:20 2014 +0100 1.06 bump; Modernize spec file .gitignore | 1 + perl-JavaScript-Minifier.spec | 36 ++++++++++++++++++------------------ sources | 2 +- 3 files changed, 20 insertions(+), 19 deletions(-) --- diff --git a/.gitignore b/.gitignore index 163be63..a7f9419 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ JavaScript-Minifier-1.05.tar.gz +/JavaScript-Minifier-1.06.tar.gz diff --git a/perl-JavaScript-Minifier.spec b/perl-JavaScript-Minifier.spec index 6c86367..0a93c70 100644 --- a/perl-JavaScript-Minifier.spec +++ b/perl-JavaScript-Minifier.spec @@ -1,16 +1,21 @@ Name: perl-JavaScript-Minifier -Version: 1.05 -Release: 13%{?dist} +Version: 1.06 +Release: 1%{?dist} Summary: Perl extension for minifying JavaScript code -License: GPL+ or Artistic +License: (GPL+ or Artistic) or Artistic 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/JavaScript-Minifier/ -Source0: http://www.cpan.org/authors/id/P/PM/PMICHAUX/JavaScript-Minifier-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://www.cpan.org/authors/id/Z/ZO/ZOFFIX/JavaScript-Minifier-%{version}.tar.gz BuildArch: noarch +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) +# Run-Time +BuildRequires: perl(Exporter) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Tests BuildRequires: perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This module removes unnecessary whitespace from JavaScript code. The @@ -25,32 +30,27 @@ will not be minified. %setup -q -n JavaScript-Minifier-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT - -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT - +make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) -%doc Changes README +%doc Changes README examples %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Mon Jan 20 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.06-1 +- 1.06 bump +- Modernize spec file + * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.05-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index 7519894..9a52f1d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -14c1fa2fcf76c97de4d0fe0d8d7fc145 JavaScript-Minifier-1.05.tar.gz +b82ecded33652b78b3ed8234a0b147fd JavaScript-Minifier-1.06.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