packages: perl-MooseX-Has-Sugar/perl-MooseX-Has-Sugar.spec - up to 0.050704...

zbyniu zbyniu at pld-linux.org
Sat Feb 11 11:56:07 CET 2012


Author: zbyniu                       Date: Sat Feb 11 10:56:07 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.05070420, BRs, cleanup

---- Files affected:
packages/perl-MooseX-Has-Sugar:
   perl-MooseX-Has-Sugar.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: packages/perl-MooseX-Has-Sugar/perl-MooseX-Has-Sugar.spec
diff -u packages/perl-MooseX-Has-Sugar/perl-MooseX-Has-Sugar.spec:1.7 packages/perl-MooseX-Has-Sugar/perl-MooseX-Has-Sugar.spec:1.8
--- packages/perl-MooseX-Has-Sugar/perl-MooseX-Has-Sugar.spec:1.7	Thu Apr 21 14:59:11 2011
+++ packages/perl-MooseX-Has-Sugar/perl-MooseX-Has-Sugar.spec	Sat Feb 11 11:56:01 2012
@@ -1,32 +1,26 @@
 # $Revision$, $Date$
-#
-# TODO:	- pl
-#	- fix build with tests (backwards compatibility)
-#
 # Conditional build:
-%bcond_without	autodeps	# don't BR packages needed only for resolving deps
-%bcond_with	tests		# do not perform "make test"
+%bcond_without	tests		# do not perform "make test"
 #
 %include	/usr/lib/rpm/macros.perl
 %define		pdir	MooseX
 %define		pnam	Has-Sugar
-Summary:	MooseX::Has-Sugar - Sugar Syntax for moose 'has' fields
+Summary:	MooseX::Has::Sugar - Sugar Syntax for moose 'has' fields
 Name:		perl-MooseX-Has-Sugar
-Version:	0.05070419
+Version:	0.05070420
 Release:	0.1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://search.cpan.org/CPAN/authors/id/K/KE/KENTNL/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	4208e85e65b568707e91b45552347b44
+# Source0-md5:	566bc8ac848296243d5f09a41c1844d0
 URL:		http://search.cpan.org/dist/MooseX-Has-Sugar/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
-%if %{with autodeps} || %{with tests}
-BuildRequires:	perl-Find-Lib
+%if %{with tests}
+BuildRequires:	perl-Sub-Exporter
 BuildRequires:	perl-MooseX-Types
-BuildRequires:	perl-Test-Exception
-BuildRequires:	perl-Test-use-ok
+BuildRequires:	perl-Test-Fatal
 BuildRequires:	perl-namespace-autoclean
 %endif
 BuildArch:	noarch
@@ -40,18 +34,16 @@
 
 %build
 %{__perl} Build.PL \
-	--prefix="%{_prefix}" \
-	--installdirs="vendor"
+	destdir=$RPM_BUILD_ROOT \
+	installdirs=vendor
+./Build
 
-%{__perl} Build
-
-%{?with_tests:%{__perl} Build test}
+%{?with_tests:./Build test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__perl} Build install \
-	--destdir=$RPM_BUILD_ROOT
+./Build install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -59,12 +51,12 @@
 %files
 %defattr(644,root,root,755)
 %doc Changes README
-%{_mandir}/man3/*
 %dir %{perl_vendorlib}/MooseX/Has
 %{perl_vendorlib}/MooseX/Has/Sugar.pm
 %dir %{perl_vendorlib}/MooseX/Has/Sugar
 %{perl_vendorlib}/MooseX/Has/Sugar/Minimal.pm
 %{perl_vendorlib}/MooseX/Has/Sugar/Saccharin.pm
+%{_mandir}/man3/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -72,6 +64,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2012/02/11 10:56:01  zbyniu
+- up to 0.05070420, BRs, cleanup
+
 Revision 1.7  2011/04/21 12:59:11  lisu
 - updated to 0.05070419
 
@@ -95,4 +90,3 @@
 
 Revision 1.1  2009/11/19 10:28:22  lisu
 - added to PLD
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-MooseX-Has-Sugar/perl-MooseX-Has-Sugar.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list