[packages/perl-CSS-Minifier-XS] Up to 0.13
arekm
arekm at pld-linux.org
Mon Sep 12 14:01:43 CEST 2022
commit 458f59fec445c953ca3f3ed812031fe746a0ac84
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Sep 12 14:00:24 2022 +0200
Up to 0.13
perl-CSS-Minifier-XS.spec | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/perl-CSS-Minifier-XS.spec b/perl-CSS-Minifier-XS.spec
index 224a6a8..a28e888 100644
--- a/perl-CSS-Minifier-XS.spec
+++ b/perl-CSS-Minifier-XS.spec
@@ -6,12 +6,12 @@
%define pnam Minifier-XS
Summary: CSS::Minifier::XS - XS based CSS minifier
Name: perl-CSS-Minifier-XS
-Version: 0.09
-Release: 9
+Version: 0.13
+Release: 1
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/CSS/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 583722bcd6175fcafaff63c769accc6f
+# Source0-md5: 310e620a4dd264a55696b5e4f8224428
URL: http://search.cpan.org/dist/CSS-Minifier-XS/
BuildRequires: perl-Module-Build
BuildRequires: perl-devel >= 1:5.8.0
@@ -31,18 +31,17 @@ substantially faster as its written in XS and not just pure Perl.
%setup -q -n %{pdir}-%{pnam}-%{version}
%build
-%{__perl} Build.PL \
- config=optimize='%{rpmcflags}' \
- destdir=$RPM_BUILD_ROOT \
- installdirs=vendor
-./Build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
-%{?with_tests:./Build test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT
-./Build install
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
@@ -54,6 +53,5 @@ rm -rf $RPM_BUILD_ROOT
%{perl_vendorarch}/CSS/Minifier/*.pm
%dir %{perl_vendorarch}/auto/CSS/Minifier
%dir %{perl_vendorarch}/auto/CSS/Minifier/XS
-%{perl_vendorarch}/auto/CSS/Minifier/XS/*.bs
%attr(755,root,root) %{perl_vendorarch}/auto/CSS/Minifier/XS/*.so
%{_mandir}/man3/*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-CSS-Minifier-XS.git/commitdiff/458f59fec445c953ca3f3ed812031fe746a0ac84
More information about the pld-cvs-commit
mailing list