From b1a9df616115cea1fc895a5f3a7a007c34faa8e27e858e9458ea3867e0b5f524 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 24 Jul 2013 07:45:19 +0000 Subject: [PATCH] - 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 --- Mixin-Linewise-0.003.tar.gz | 3 --- Mixin-Linewise-0.004.tar.gz | 3 +++ perl-Mixin-Linewise-use_lib.patch | 22 ---------------- perl-Mixin-Linewise.changes | 7 +++++ perl-Mixin-Linewise.spec | 44 +++++++++++-------------------- 5 files changed, 26 insertions(+), 53 deletions(-) delete mode 100644 Mixin-Linewise-0.003.tar.gz create mode 100644 Mixin-Linewise-0.004.tar.gz delete mode 100644 perl-Mixin-Linewise-use_lib.patch diff --git a/Mixin-Linewise-0.003.tar.gz b/Mixin-Linewise-0.003.tar.gz deleted file mode 100644 index b984988..0000000 --- a/Mixin-Linewise-0.003.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b9bc75bf0f5de08a7135e7abd0301d63f1d4a27d7764fd5a3f6bf5832a61e852 -size 25343 diff --git a/Mixin-Linewise-0.004.tar.gz b/Mixin-Linewise-0.004.tar.gz new file mode 100644 index 0000000..5c0d102 --- /dev/null +++ b/Mixin-Linewise-0.004.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a50d171850d3e0dde51e041eecd40abc68396ea822baa4381951a7710833dd9 +size 14305 diff --git a/perl-Mixin-Linewise-use_lib.patch b/perl-Mixin-Linewise-use_lib.patch deleted file mode 100644 index afdcee0..0000000 --- a/perl-Mixin-Linewise-use_lib.patch +++ /dev/null @@ -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'; diff --git a/perl-Mixin-Linewise.changes b/perl-Mixin-Linewise.changes index 4e8dec3..6bcaafe 100644 --- a/perl-Mixin-Linewise.changes +++ b/perl-Mixin-Linewise.changes @@ -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 diff --git a/perl-Mixin-Linewise.spec b/perl-Mixin-Linewise.spec index 814cf9c..e67d750 100644 --- a/perl-Mixin-Linewise.spec +++ b/perl-Mixin-Linewise.spec @@ -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