9
0

Accepting request 98270 from home:dirkmueller:branches:devel:languages:perl

- avoid incorrect perl provides by rpm provides finder

OBS-URL: https://build.opensuse.org/request/show/98270
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-POE-Test-Loops?expand=0&rev=12
This commit is contained in:
Stephan Kulow
2011-12-27 13:25:45 +00:00
committed by Git OBS Bridge
parent d55591597d
commit b1b2bc4e17
3 changed files with 94 additions and 3 deletions

View File

@@ -1,10 +1,15 @@
-------------------------------------------------------------------
Tue Dec 27 11:08:43 CET 2011 - dmueller@suse.de
- avoid incorrect perl provides by rpm provides finder
-------------------------------------------------------------------
Thu Dec 22 09:16:33 UTC 2011 - coolo@suse.com
- updated to 1.350, see CHANGES
-------------------------------------------------------------------
Tue Jun 14 09:54:07 UTC 2011 - coolo@novell.com
Tue Jun 14 09:54:07 UTC 2011 - coolo@suse.com
- updated to 1.312, see CHANGES
@@ -17,7 +22,7 @@ Sun Feb 6 18:18:34 UTC 2011 - lars@linux-schulserver.de
+ fix non-numeric comparison when using dev release
-------------------------------------------------------------------
Tue Nov 30 19:20:40 UTC 2010 - coolo@novell.com
Tue Nov 30 19:20:40 UTC 2010 - coolo@suse.com
- switch to perl_requires macro

View File

@@ -24,11 +24,12 @@ License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/POE-Test-Loops/
Source: http://www.cpan.org/authors/id/R/RC/RCAPUTO/%{cpan_name}-%{version}.tar.gz
Patch0: strip-dummy-provides.diff
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl-macros
#BuildRequires: perl(Curses)
#BuildRequires: perl(POE)
#BuildRequires: perl(POE::NFA)
@@ -52,6 +53,7 @@ detail.
%prep
%setup -q -n %{cpan_name}-%{version}
%patch0
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor

84
strip-dummy-provides.diff Normal file
View File

@@ -0,0 +1,84 @@
--- lib/POE/Test/Loops/ses_nfa.pm
+++ lib/POE/Test/Loops/ses_nfa.pm
@@ -38,7 +38,8 @@
### This goes in its own package because POE::Session and POE::NFA
### export conflicting constants.
-package Switch;
+package # split to avoid CPAN indexer
+Switch;
{
$Switch::VERSION = '1.350';
}
@@ -143,7 +144,8 @@
### observer who pushes the light's button over and over, watching it
### as it goes on and off.
-package Operator;
+package # split to avoid CPAN indexer
+Operator;
{
$Operator::VERSION = '1.350';
}
@@ -182,7 +184,8 @@
### This is a Fibonacci number servlet. Post it a request with the F
### number you want, and it calculates and returns it.
-package FibServer;
+package # split to avoid CPAN indexer
+FibServer;
{
$FibServer::VERSION = '1.350';
}
@@ -242,7 +245,8 @@
### This is a Fibonacci client. It asks for F numbers and checks the
### responses vs. expectations.
-package FibClient;
+package # split to avoid CPAN indexer
+FibClient;
{
$FibClient::VERSION = '1.350';
}
--- lib/POE/Test/Loops/ses_session.pm
+++ lib/POE/Test/Loops/ses_session.pm
@@ -229,7 +229,8 @@
#------------------------------------------------------------------------------
# Unmapped package session.
-package UnmappedPackage;
+package # split to avoid CPAN indexer
+UnmappedPackage;
{
$UnmappedPackage::VERSION = '1.350';
}
@@ -253,7 +254,8 @@
#------------------------------------------------------------------------------
# Unmapped object session.
-package UnmappedObject;
+package # split to avoid CPAN indexer
+UnmappedObject;
{
$UnmappedObject::VERSION = '1.350';
}
@@ -280,7 +282,8 @@
#------------------------------------------------------------------------------
# Unmapped package session.
-package MappedPackage;
+package # split to avoid CPAN indexer
+MappedPackage;
{
$MappedPackage::VERSION = '1.350';
}
@@ -304,7 +307,8 @@
#------------------------------------------------------------------------------
# Unmapped object session.
-package MappedObject;
+package # split to avoid CPAN indexer
+MappedObject;
{
$MappedObject::VERSION = '1.350';
}