]> git.pld-linux.org Git - packages/perl-Mouse.git/commitdiff
- up to 2.3.0 auto/th/perl-Mouse-2.3.0-1
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 18 Sep 2014 21:41:18 +0000 (23:41 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 18 Sep 2014 21:41:18 +0000 (23:41 +0200)
perl-Mouse.spec

index 0371f1d65fc7e0c21d572a59a866e68538ef1c64..ec6a2dce4a01fe25cc4b005547fce7f38b2f4a3e 100644 (file)
@@ -5,22 +5,23 @@
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Mouse
 Summary:       Mouse - Moose minus the antlers
-#Summary(pl.UTF-8):
 Name:          perl-Mouse
-Version:       0.97
-Release:       4
+Version:       2.3.0
+Release:       1
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/%{pdir}-%{version}.tar.gz
-# Source0-md5: 92a8b387f9619d32bce6685c1dd370e5
+# Source0-md5: aae2b55f280f773a92fa16c6bdcc358d
 URL:           http://search.cpan.org/dist/Mouse/
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: perl-Module-Build-XSUtil
 %if %{with tests}
 BuildRequires: perl-ExtUtils-MakeMaker >= 6.42
 BuildRequires: perl-Test-Exception >= 0.21
 BuildRequires: perl-Test-Simple >= 0.8
+BuildRequires: perl-Test-LeakTrace
 %endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -35,24 +36,24 @@ Mouse aims to alleviate this by providing a subset of Moose's
 functionality, faster. In particular, L<Moose/has> is missing only a
 few expert-level features.
 
-# %description -l pl.UTF-8
-
 %prep
 %setup -q -n %{pdir}-%{version}
 
 %build
-%{__perl} Makefile.PL \
-       INSTALLDIRS=vendor
-%{__make}
+%{__perl} Build.PL \
+        destdir=$RPM_BUILD_ROOT \
+       installdirs=vendor
+
+./Build \
+       CFLAGS="%{rpmcflags}"
 
-%{?with_tests:%{__make} test}
+%{?with_tests:./Build test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{perl_vendorlib}/MouseX
 
-%{__make} pure_install \
-       DESTDIR=$RPM_BUILD_ROOT
+./Build install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.042567 seconds and 4 git commands to generate.