[packages/perl-Mouse] - up to 2.3.0
baggins
baggins at pld-linux.org
Thu Sep 18 23:41:24 CEST 2014
commit 4761ea8864eaa1a5d1247bf11adf1a2cef4e55af
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Sep 18 23:41:18 2014 +0200
- up to 2.3.0
perl-Mouse.spec | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
---
diff --git a/perl-Mouse.spec b/perl-Mouse.spec
index 0371f1d..ec6a2dc 100644
--- a/perl-Mouse.spec
+++ b/perl-Mouse.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Mouse.git/commitdiff/4761ea8864eaa1a5d1247bf11adf1a2cef4e55af
More information about the pld-cvs-commit
mailing list