[packages/perl-Mixin-Linewise] - re-add version definitions in a way understandable to dependency generator, rel 3
baggins
baggins at pld-linux.org
Tue Feb 22 22:09:17 CET 2022
commit 56629686bf6fafa2eb6e908f0501bc63f654384d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Feb 22 22:08:00 2022 +0100
- re-add version definitions in a way understandable to dependency generator, rel 3
perl-Mixin-Linewise.spec | 4 +++-
version.patch | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 39 insertions(+), 1 deletion(-)
---
diff --git a/perl-Mixin-Linewise.spec b/perl-Mixin-Linewise.spec
index 7fa7c39..12c0777 100644
--- a/perl-Mixin-Linewise.spec
+++ b/perl-Mixin-Linewise.spec
@@ -8,12 +8,13 @@ Summary: Mixin::Linewise - write your linewise code for handles; this does the r
#Summary(pl.UTF-8):
Name: perl-Mixin-Linewise
Version: 0.110
-Release: 2
+Release: 3
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-authors/id/R/RJ/RJBS/Mixin-Linewise-%{version}.tar.gz
# Source0-md5: 466b2b42a0cec2b163729fa581ac4b1d
+Patch0: version.patch
URL: http://search.cpan.org/dist/Mixin-Linewise/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
@@ -33,6 +34,7 @@ you.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL \
diff --git a/version.patch b/version.patch
new file mode 100644
index 0000000..21d5d5b
--- /dev/null
+++ b/version.patch
@@ -0,0 +1,36 @@
+diff -ur Mixin-Linewise-0.110/lib/Mixin/Linewise/Readers.pm Mixin-Linewise-0.108/lib/Mixin/Linewise/Readers.pm
+--- Mixin-Linewise-0.110/lib/Mixin/Linewise/Readers.pm 2021-06-23 04:27:10.000000000 +0200
++++ Mixin-Linewise-0.108/lib/Mixin/Linewise/Readers.pm 2015-04-08 20:56:09.000000000 +0200
+@@ -1,7 +1,7 @@
+ use warnings;
+ package Mixin::Linewise::Readers 0.110;
+ # ABSTRACT: get linewise readers for strings and filenames
+-
++$Mixin::Linewise::Readers::VERSION = '0.110';
+ use 5.008001; # PerlIO
+ use Carp ();
+ use IO::File;
+diff -ur Mixin-Linewise-0.110/lib/Mixin/Linewise/Writers.pm Mixin-Linewise-0.108/lib/Mixin/Linewise/Writers.pm
+--- Mixin-Linewise-0.110/lib/Mixin/Linewise/Writers.pm 2021-06-23 04:27:10.000000000 +0200
++++ Mixin-Linewise-0.108/lib/Mixin/Linewise/Writers.pm 2015-04-08 20:56:09.000000000 +0200
+@@ -1,7 +1,7 @@
+ use warnings;
+ package Mixin::Linewise::Writers 0.110;
+ # ABSTRACT: get linewise writers for strings and filenames
+-
++$Mixin::Linewise::Writers::VERSION = '0.110';
+ use 5.008001; # PerlIO
+ use Carp ();
+ use IO::File;
+diff -ur Mixin-Linewise-0.110/lib/Mixin/Linewise.pm Mixin-Linewise-0.108/lib/Mixin/Linewise.pm
+--- Mixin-Linewise-0.110/lib/Mixin/Linewise.pm 2021-06-23 04:27:10.000000000 +0200
++++ Mixin-Linewise-0.108/lib/Mixin/Linewise.pm 2015-04-08 20:56:08.000000000 +0200
+@@ -1,7 +1,7 @@
+ use warnings;
+ package Mixin::Linewise 0.110;
+ # ABSTRACT: write your linewise code for handles; this does the rest
+-
++$Mixin::Linewise::VERSION = '0.110';
+ use 5.006;
+ use Carp ();
+ Carp::confess "not meant to be loaded";
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Mixin-Linewise.git/commitdiff/56629686bf6fafa2eb6e908f0501bc63f654384d
More information about the pld-cvs-commit
mailing list