|
|
|
@ -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 <emmanuel@seyman.fr> - 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 <releng@fedoraproject.org> - 1.19-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|