[perl-GStreamer] Enable tests at build time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 13b66f822a3d6604f2734ee7a32d1d91af482cb2
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Wed Jan 25 16:34:28 2012 +0100

    Enable tests at build time

 perl-GStreamer.spec |   10 ++--------
 test.patch          |   19 -------------------
 2 files changed, 2 insertions(+), 27 deletions(-)
---
diff --git a/perl-GStreamer.spec b/perl-GStreamer.spec
index 9d3d765..e38422b 100644
--- a/perl-GStreamer.spec
+++ b/perl-GStreamer.spec
@@ -6,8 +6,6 @@ License:        LGPLv2+
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/GStreamer/
 Source0:        http://www.cpan.org/authors/id/T/TS/TSCH/GStreamer-%{version}.tar.gz
-# see http://bugzilla.gnome.org/show_bug.cgi?id=348454
-Patch0:         test.patch
 BuildRequires:  gstreamer-devel
 BuildRequires:  perl(ExtUtils::Depends) >= 0.205
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -19,6 +17,7 @@ BuildRequires:  perl(DynaLoader)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(Glib) >= 1.180
 # Tests
+BuildRequires:  gstreamer-plugins-base
 BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -34,7 +33,6 @@ the programmer from any memory management and object casting hassles.
 
 %prep
 %setup -q -n GStreamer-%{version}
-#patch0 -p0
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
@@ -51,11 +49,7 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 # note some 64-bit funkiness (but not failures):
 # http://bugzilla.gnome.org/show_bug.cgi?id=352750
 # http://bugzilla.gnome.org/show_bug.cgi?id=352753
-# note2: as near as I can tell, tests under plague/mock are just totally
-# broken.  module works just fine on my box, so we're just going to build w/o
-# tests here.  IF YOU WANT TO RUN THE TESTS, easiest way is to rebuild the rpm
-# on your own box, passing --with-network-tests to rpmbuild.
-%{?_with_network_tests: make test}
+make test
 
 %files
 %doc ChangeLog.pre-git copyright.pod LICENSE NEWS README TODO examples/
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux