Author: zbyniu                       Date: Wed Jan 25 00:35:31 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.186; bcond tests added; pldized

---- Files affected:
packages/perl-Email-Valid:
   perl-Email-Valid.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: packages/perl-Email-Valid/perl-Email-Valid.spec
diff -u packages/perl-Email-Valid/perl-Email-Valid.spec:1.32 
packages/perl-Email-Valid/perl-Email-Valid.spec:1.33
--- packages/perl-Email-Valid/perl-Email-Valid.spec:1.32        Wed Jan 11 
23:02:06 2012
+++ packages/perl-Email-Valid/perl-Email-Valid.spec     Wed Jan 25 01:35:26 2012
@@ -1,16 +1,23 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    Email
 %define                pnam    Valid
 Summary:       Email::Valid - module determines whether an email address is 
valid
 Summary(pl.UTF-8):     Email::Valid - moduł sprawdzający poprawność adresu 
e-mail
 Name:          perl-Email-Valid
-Version:       0.185
+Version:       0.186
 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: 8d5b4eea30be619ef9fe966c77e08b68
+# Source0-md5: e21911bc5b14e0a1c8f17cb528826546
+# generic URL, check or change before uncommenting
+#URL:          http://search.cpan.org/dist/Email-Valid/
 BuildRequires: perl-devel >= 1:5.8.0
 %if %{with tests}
 BuildRequires: perl-MailTools
@@ -35,10 +42,12 @@
        INSTALLDIRS=vendor
 %{__make}
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} pure_install \
        DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -46,8 +55,8 @@
 
 %files
 %defattr(644,root,root,755)
-%doc README Changes
-%{perl_vendorlib}/%{pdir}/*.pm
+%doc Changes README
+%{perl_vendorlib}/Email/*.pm
 %{_mandir}/man3/*
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -56,6 +65,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2012/01/25 00:35:26  zbyniu
+- up to 0.186; bcond tests added; pldized
+
 Revision 1.32  2012/01/11 22:02:06  zbyniu
 - up to 0.185
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-Email-Valid/perl-Email-Valid.spec?r1=1.32&r2=1.33&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to