|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-CSS-Minifier-XS
|
|
|
|
|
Version: 0.04
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 0.07
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
# lib/CSS/Minifier/XS.pm -> GPL+ or Artistic
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -16,11 +16,7 @@ BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
|
|
|
|
|
|
# don't "provide" private Perl libs
|
|
|
|
|
%global _use_internal_dependency_generator 0
|
|
|
|
|
%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
|
|
|
|
|
%global __find_provides /bin/sh -c "%{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
|
|
|
|
|
%global __find_requires /bin/sh -c "%{__deploop R}"
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
'CSS::Minifier::XS' is a CSS "minifier"; it's designed to remove un-
|
|
|
|
@ -40,7 +36,7 @@ make %{?_smp_mflags}
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
@ -61,6 +57,10 @@ rm -rf %{buildroot}
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Aug 08 2010 Iain Arnell <iarnell@gmail.com> 0.07-1
|
|
|
|
|
- update to latest upstream version
|
|
|
|
|
- use perl_default_filter and DESTDIR
|
|
|
|
|
|
|
|
|
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-3
|
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
|
|
|
|
|