]> git.pld-linux.org Git - packages/perl-Class-Mix.git/commitdiff
- up to 0.006 auto/th/perl-Class-Mix-0.006-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 14 Nov 2019 14:35:13 +0000 (15:35 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 14 Nov 2019 14:35:13 +0000 (15:35 +0100)
perl-Class-Mix.spec

index 38f003ee5b63e7caba9888434f94282433f2b1db..3db128f047659aca19f46322135cad4cec3996e7 100644 (file)
@@ -7,13 +7,13 @@
 %include       /usr/lib/rpm/macros.perl
 Summary:       Class::Mix - dynamic class mixing
 Name:          perl-Class-Mix
-Version:       0.005
+Version:       0.006
 Release:       1
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 7d6c4e70dea13678d845898a4a1565c0
+# Source0-md5: 14f9d08abf878afc1592f3861cf98be4
 URL:           http://search.cpan.org/dist/Class-Mix/
 BuildRequires: perl-Params-Classify
 BuildRequires: perl-devel >= 1:5.8.0
@@ -29,18 +29,17 @@ The mix_class function provided by this module dynamically generates
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-%{__perl} Makefile.PL \
-       INSTALLDIRS=vendor
+%{__perl} Build.PL \
+        --destdir=$RPM_BUILD_ROOT \
+        --installdirs=vendor
+./Build
 
-%{__make}
-
-%{?with_tests:%{__make} test}
+%{?with_tests:./Build test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+./Build install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.109831 seconds and 4 git commands to generate.