rpms/perl-WWW-Mechanize/devel perl-WWW-Mechanize.spec,1.6,1.7

Jose Pedro Oliveira (jpo) fedora-extras-commits at redhat.com
Tue Feb 28 03:39:29 UTC 2006


Author: jpo

Update of /cvs/extras/rpms/perl-WWW-Mechanize/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13213

Modified Files:
	perl-WWW-Mechanize.spec 
Log Message:
Re-enable test suite but without local and live tests.


Index: perl-WWW-Mechanize.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-WWW-Mechanize/devel/perl-WWW-Mechanize.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- perl-WWW-Mechanize.spec	2 Feb 2006 19:44:01 -0000	1.6
+++ perl-WWW-Mechanize.spec	28 Feb 2006 03:39:28 -0000	1.7
@@ -1,14 +1,17 @@
 #
-# Rebuild switch:
+# Rebuild switches:
 #  --with livetests          enable live tests
+#  --with localtests         enable local tests
 #
 
 %define livetests 0
+%define localtests 0
 %{?_with_livetests:%define livetests 1}
+%{?_with_localtests:%define localtests 1}
 
 Name:           perl-WWW-Mechanize
 Version:        1.18
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Automates web page form & link interaction
 
 Group:          Development/Libraries
@@ -47,7 +50,11 @@
 %else
     --nolive \
 %endif
+%if %{localtests}
     --local \
+%else
+    --nolocal \
+%endif
     --mech-dump < /dev/null
 make %{?_smp_mflags}
 
@@ -78,6 +85,11 @@
 
 
 %changelog
+* Tue Feb 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.18-2
+- Re-enable test suite but without local and live tests.
+  One local test fails in mock (see #165650 comment 4).
+- New rebuild option: "--with localtests"
+
 * Thu Feb  2 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.18-1
 - Update to 1.18.
 




More information about the fedora-extras-commits mailing list