From 4beb4428234d1956c7567b975b4aba04c84bdb67 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Fri, 11 Mar 2016 16:35:04 +0100 Subject: [PATCH] Update to 1.20 --- .gitignore | 1 + perl-CSS-Tiny.spec | 24 ++++++++++++++---------- sources | 2 +- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index fe6921f..7a6fe4d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ CSS-Tiny-1.15.tar.gz /CSS-Tiny-1.18.tar.gz /CSS-Tiny-1.19.tar.gz +/CSS-Tiny-1.20.tar.gz diff --git a/perl-CSS-Tiny.spec b/perl-CSS-Tiny.spec index 742ca69..6d388e6 100644 --- a/perl-CSS-Tiny.spec +++ b/perl-CSS-Tiny.spec @@ -1,16 +1,16 @@ Name: perl-CSS-Tiny -Version: 1.19 -Release: 11%{?dist} +Version: 1.20 +Release: 1%{?dist} Summary: Read/Write .css files with as little code as possible Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/CSS-Tiny/ -Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/CSS-Tiny-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/C/CH/CHORNY/CSS-Tiny-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(Clone) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) >= 1.00 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -28,14 +28,12 @@ little code as possible, reducing load time and memory overhead. %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 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 ';' +make pure_install DESTDIR=$RPM_BUILD_ROOT chmod -R u+w $RPM_BUILD_ROOT/* @@ -44,12 +42,18 @@ make test %files -%doc Changes LICENSE README -%{perl_vendorlib}/CSS/ +%doc Changes +%{perl_vendorlib}/CSS %{_mandir}/man3/*.3pm* %changelog +* Fri Mar 11 2016 Emmanuel Seyman - 1.20-1 +- Update to 1.20 +- Pass NO_PACKLIST to Makefile.PL +- Use DESTDIR instead of PERL_INSTALL_ROOT +- Drop README and LICENSE from file listing + * Thu Feb 04 2016 Fedora Release Engineering - 1.19-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 68893a3..f396cf5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f3f2f3d67d35d0e2b4c3b53c8b3f9483 CSS-Tiny-1.19.tar.gz +044e777384d22941bc6c104dcfa18035 CSS-Tiny-1.20.tar.gz