- updated to 0.004
repackage - removed old perl-Mixin-Linewise-use_lib.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mixin-Linewise?expand=0&rev=11
This commit is contained in:
parent
952db83218
commit
b1a9df6161
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b9bc75bf0f5de08a7135e7abd0301d63f1d4a27d7764fd5a3f6bf5832a61e852
|
||||
size 25343
|
3
Mixin-Linewise-0.004.tar.gz
Normal file
3
Mixin-Linewise-0.004.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7a50d171850d3e0dde51e041eecd40abc68396ea822baa4381951a7710833dd9
|
||||
size 14305
|
@ -1,22 +0,0 @@
|
||||
Index: Mixin-Linewise-0.003/Makefile.PL
|
||||
===================================================================
|
||||
--- Mixin-Linewise-0.003.orig/Makefile.PL
|
||||
+++ Mixin-Linewise-0.003/Makefile.PL
|
||||
@@ -1,5 +1,5 @@
|
||||
use inc::Module::Install;
|
||||
-
|
||||
+use lib '__vendorperl__';
|
||||
all_from('lib/Mixin/Linewise.pm');
|
||||
requires('Carp' => 0.000); # sure, it's core, but let's be thorough
|
||||
requires('IO::String' => 0.000); # minimum unknown
|
||||
Index: Mixin-Linewise-0.003/t/basic.t
|
||||
===================================================================
|
||||
--- Mixin-Linewise-0.003.orig/t/basic.t
|
||||
+++ Mixin-Linewise-0.003/t/basic.t
|
||||
@@ -1,5 +1,6 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
+use lib '__vendorperl__';
|
||||
use Test::More;
|
||||
|
||||
use lib 't/lib';
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 07:28:45 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 0.004
|
||||
repackage
|
||||
- removed old perl-Mixin-Linewise-use_lib.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 18 11:08:04 UTC 2011 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Mixin-Linewise
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,31 +16,26 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: perl-Mixin-Linewise
|
||||
Version: 0.003
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
Version: 0.004
|
||||
Release: 0
|
||||
%define cpan_name Mixin-Linewise
|
||||
Summary: Write your linewise code for handles; this does the rest
|
||||
Url: http://search.cpan.org/dist/Mixin-Linewise/
|
||||
Summary: write your linewise code for handles; this does the rest
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
#Source: http://www.cpan.org/authors/id/R/RJ/RJBS/Mixin-Linewise-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
Patch1: perl-Mixin-Linewise-use_lib.patch
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(IO::File)
|
||||
BuildRequires: perl(IO::String)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Sub::Exporter) >= 0.9
|
||||
Url: http://search.cpan.org/dist/Mixin-Linewise/
|
||||
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(IO::File)
|
||||
BuildRequires: perl(IO::String)
|
||||
BuildRequires: perl(Sub::Exporter)
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
#BuildRequires: perl(Mixin::Linewise::Readers)
|
||||
#BuildRequires: perl(MLTests)
|
||||
Requires: perl(IO::String)
|
||||
Requires: perl(Sub::Exporter) >= 0.9
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
Requires: perl(Sub::Exporter)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@ -52,10 +47,6 @@ are added for you.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%if 0%{?suse_version} <= 1110
|
||||
%patch1 -p1
|
||||
sed -i "s|__vendorperl__|%{perl_vendorlib}|g" Makefile.PL t/*.t
|
||||
%endif
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
@ -69,11 +60,8 @@ sed -i "s|__vendorperl__|%{perl_vendorlib}|g" Makefile.PL t/*.t
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(644,root,root,755)
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE README
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user