forked from pool/perl-Module-Refresh
- add old_test_more.patch to build against sle11
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Refresh?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
5d24ac755f
commit
1053e480a0
20
old_test_more.patch
Normal file
20
old_test_more.patch
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
--- t/clear_symtable.t
|
||||||
|
+++ t/clear_symtable.t
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
#!/usr/bin/env perl
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
-use Test::More;
|
||||||
|
+use Test::More qw(no_plan);
|
||||||
|
|
||||||
|
use Module::Refresh;
|
||||||
|
|
||||||
|
@@ -37,7 +37,7 @@
|
||||||
|
can_ok('Foo', 'baz');
|
||||||
|
ok(!Foo->can('bar'), "!Foo->can('bar')");
|
||||||
|
|
||||||
|
-done_testing;
|
||||||
|
+#done_testing;
|
||||||
|
__END__
|
||||||
|
ok 1 - Foo->can('bar')
|
||||||
|
ok 2 - !Foo->can('baz')
|
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 29 16:26:17 CET 2012 - ro@suse.de
|
||||||
|
|
||||||
|
- add old_test_more.patch to build against sle11
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 18 08:35:37 UTC 2011 - coolo@suse.com
|
Fri Nov 18 08:35:37 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Module-Refresh
|
# spec file for package perl-Module-Refresh
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,16 +16,18 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Module-Refresh
|
Name: perl-Module-Refresh
|
||||||
Version: 0.17
|
Version: 0.17
|
||||||
Release: 1
|
Release: 0
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
|
||||||
%define cpan_name Module-Refresh
|
%define cpan_name Module-Refresh
|
||||||
Summary: Refresh INC files when updated on disk
|
Summary: Refresh INC files when updated on disk
|
||||||
Url: http://search.cpan.org/dist/Module-Refresh/
|
License: GPL-1.0+ or Artistic-1.0
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
|
Url: http://search.cpan.org/dist/Module-Refresh/
|
||||||
Source: http://www.cpan.org/authors/id/A/AL/ALEXMV/%{cpan_name}-%{version}.tar.gz
|
Source: http://www.cpan.org/authors/id/A/AL/ALEXMV/%{cpan_name}-%{version}.tar.gz
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
|
Patch0: old_test_more.patch
|
||||||
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
@@ -53,6 +55,9 @@ It does not require mod_perl.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
|
%patch0
|
||||||
|
%endif
|
||||||
find . -type f -print0 | xargs -0 chmod 644
|
find . -type f -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Reference in New Issue
Block a user