public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Convert-ASN1] f44: 0.37 bump
Date: Fri, 20 Nov 2026 13:24:32 GMT [thread overview]
Message-ID: <179518107200.1.15565843166050421681.rpms-perl-Convert-ASN1-2971ef37e618@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Convert-ASN1
Branch : f44
Commit : 2971ef37e618e5d370536a17fb1b1c406f4bd710
Author : Petr Písař <ppisar@redhat.com>
Date : 2026-11-20T14:22:53+01:00
Stats : +85/-74 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Convert-ASN1/c/2971ef37e618e5d370536a17fb1b1c406f4bd710?branch=f44
Log:
0.37 bump
---
diff --git a/.gitignore b/.gitignore
index 246a66b..104c1e0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ Convert-ASN1-0.22.tar.gz
/Convert-ASN1-0.31.tar.gz
/Convert-ASN1-0.33.tar.gz
/Convert-ASN1-0.34.tar.gz
+/Convert-ASN1-0.37.tar.gz
diff --git a/Convert-ASN1-0.27-Use-temporary-output-files-for-tests.patch b/Convert-ASN1-0.27-Use-temporary-output-files-for-tests.patch
deleted file mode 100644
index c515694..0000000
--- a/Convert-ASN1-0.27-Use-temporary-output-files-for-tests.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From db01806c94b109117683aecf4b1934f8ce2a3137 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
-Date: Wed, 28 Aug 2019 10:31:26 +0200
-Subject: [PATCH] Use temporary output files for tests
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-I need to run the tests from a read-only directory. The t/07io.t fails
-because it creates a file in ./t directory. This patch uses File::Temp
-for creating the writable file.
-
-Signed-off-by: Petr Písař <ppisar@redhat.com>
----
- dist.ini | 1 +
- t/07io.t | 11 ++++++-----
- 2 files changed, 7 insertions(+), 5 deletions(-)
-
-diff --git a/dist.ini b/dist.ini
-index 167e3e2..6f2fb12 100644
---- a/dist.ini
-+++ b/dist.ini
-@@ -23,6 +23,7 @@ directory = examples
- [PodVersion]
-
- [Prereqs / TestRequires]
-+File::Temp = 0
- Test::More = 0.90
- Math::BigInt = 1.997
-
-diff --git a/t/07io.t b/t/07io.t
-index 706cf51..cca31d7 100644
---- a/t/07io.t
-+++ b/t/07io.t
-@@ -2,6 +2,7 @@
-
- use Convert::ASN1 qw(:io);
- use IO::Socket;
-+use File::Temp ();
-
- print "1..11\n";
-
-@@ -14,11 +15,11 @@ my $result = pack("C*", 0x30, 0x3D, 0x04, 0x04, 0x46, 0x72, 0x65, 0x64,
- 0x73, 0x74, 0x04, 0x02, 0x6F, 0x66, 0x04, 0x07,
- 0x73, 0x74, 0x72, 0x69, 0x6E, 0x67, 0x73);
-
--($file = $0) =~ s/t$/dat/;
--open(OUT,"> $file");
--asn_write(*OUT, $result);
--asn_write(*OUT, $result);
--close(OUT);
-+$fd = File::Temp->new('UNLINK' => 0);
-+$file = $fd->filename;
-+asn_write($fd, $result);
-+asn_write($fd, $result);
-+$fd->close;
-
- open(IN,"< $file");
- sysread(IN,$buffer,1024);
---
-2.21.0
-
diff --git a/Convert-ASN1-0.37-Use-temporary-output-files-for-tests.patch b/Convert-ASN1-0.37-Use-temporary-output-files-for-tests.patch
new file mode 100644
index 0000000..135dff1
--- /dev/null
+++ b/Convert-ASN1-0.37-Use-temporary-output-files-for-tests.patch
@@ -0,0 +1,62 @@
+From 6aeb4339713a89396f22a0ea429b7ffac773c172 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
+Date: Wed, 28 Aug 2019 10:31:26 +0200
+Subject: [PATCH] Use temporary output files for tests
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+I need to run the tests from a read-only directory. The t/07io.t fails
+because it creates a file in ./t directory. This patch uses File::Temp
+for creating the writable file.
+
+Signed-off-by: Petr Písař <ppisar@redhat.com>
+---
+ dist.ini | 1 +
+ t/07io.t | 11 ++++++-----
+ 2 files changed, 7 insertions(+), 5 deletions(-)
+
+diff --git a/dist.ini b/dist.ini
+index d5ef18d..664213b 100644
+--- a/dist.ini
++++ b/dist.ini
+@@ -31,6 +31,7 @@ exclude_filename = Makefile.PL
+ Time::Local = 1.27
+
+ [Prereqs / TestRequires]
++File::Temp = 0
+ Test::More = 0.90
+ Math::BigInt = 1.997
+
+diff --git a/t/07io.t b/t/07io.t
+index 706cf51..cca31d7 100644
+--- a/t/07io.t
++++ b/t/07io.t
+@@ -2,6 +2,7 @@
+
+ use Convert::ASN1 qw(:io);
+ use IO::Socket;
++use File::Temp ();
+
+ print "1..11\n";
+
+@@ -14,11 +15,11 @@ my $result = pack("C*", 0x30, 0x3D, 0x04, 0x04, 0x46, 0x72, 0x65, 0x64,
+ 0x73, 0x74, 0x04, 0x02, 0x6F, 0x66, 0x04, 0x07,
+ 0x73, 0x74, 0x72, 0x69, 0x6E, 0x67, 0x73);
+
+-($file = $0) =~ s/t$/dat/;
+-open(OUT,"> $file");
+-asn_write(*OUT, $result);
+-asn_write(*OUT, $result);
+-close(OUT);
++$fd = File::Temp->new('UNLINK' => 0);
++$file = $fd->filename;
++asn_write($fd, $result);
++asn_write($fd, $result);
++$fd->close;
+
+ open(IN,"< $file");
+ sysread(IN,$buffer,1024);
+--
+2.56.1
+
diff --git a/perl-Convert-ASN1.rpmlintrc b/perl-Convert-ASN1.rpmlintrc
index e23ff13..8436192 100644
--- a/perl-Convert-ASN1.rpmlintrc
+++ b/perl-Convert-ASN1.rpmlintrc
@@ -1,2 +1 @@
-from Config import *
-addFilter("perl-Convert-ASN1-tests.noarch: W: no-documentation");
+addFilter('perl-Convert-ASN1-tests\.noarch: W: no-documentation')
diff --git a/perl-Convert-ASN1.spec b/perl-Convert-ASN1.spec
index 56ac339..5280092 100644
--- a/perl-Convert-ASN1.spec
+++ b/perl-Convert-ASN1.spec
@@ -3,19 +3,20 @@
Summary: ASN.1 encode/decode library
Name: perl-Convert-ASN1
-Version: 0.34
-Release: 7%{?dist}
+Version: 0.37
+Release: 1%{?dist}
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Convert-ASN1
Source0: https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/Convert-ASN1-%{version}.tar.gz
# Allow running tests from a read-only location,
# <https://github.com/gbarr/perl-Convert-ASN1/pull/40>
-Patch0: Convert-ASN1-0.27-Use-temporary-output-files-for-tests.patch
+Patch0: Convert-ASN1-0.37-Use-temporary-output-files-for-tests.patch
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
+BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
@@ -26,8 +27,9 @@ BuildRequires: perl(constant)
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
BuildRequires: perl(POSIX)
+BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Socket)
-BuildRequires: perl(Time::Local)
+BuildRequires: perl(Time::Local) >= 1.27
BuildRequires: perl(utf8)
BuildRequires: perl(vars)
# Optional run-time:
@@ -35,21 +37,22 @@ BuildRequires: perl(bytes)
# Tests:
BuildRequires: perl(File::Temp)
BuildRequires: perl(IO::Socket)
+BuildRequires: perl(lib)
BuildRequires: perl(Math::BigInt) >= 1.997
BuildRequires: perl(Test::More) >= 0.90
%if %{with perl_Convert_ASN1_enables_optional_test}
# Optional tests:
BuildRequires: perl(Data::Dumper)
%endif
-Suggests: perl(bytes)
+Recommends: perl(bytes)
Requires: perl(Carp)
Requires: perl(Encode)
Requires: perl(POSIX)
-Requires: perl(Time::Local)
+Requires: perl(Time::Local) >= 1.27
Requires: perl(utf8)
# Remove under-specified dependencies
-%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Math::BigInt\\)$
+%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Math::BigInt|Test::More)\\)$
%description
Convert::ASN1 encodes and decodes ASN.1 data structures using BER/DER rules.
@@ -59,6 +62,7 @@ Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
Requires: perl(Math::BigInt) >= 1.997
+Requires: perl(Test::More) >= 0.90
%if %{with perl_Convert_ASN1_enables_optional_test}
# Optional tests:
Requires: perl(Data::Dumper)
@@ -87,6 +91,7 @@ mkdir -p %{buildroot}/%{_libexecdir}/%{name}
cp -a t %{buildroot}/%{_libexecdir}/%{name}
cat > %{buildroot}/%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
+unset YYDEBUG
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}/%{_libexecdir}/%{name}/test
@@ -100,13 +105,19 @@ make test
%files
%license LICENSE
%doc ChangeLog OldChanges README.md examples/
-%{perl_vendorlib}/Convert/
-%{_mandir}/man3/Convert::ASN1*.3pm*
+%dir %{perl_vendorlib}/Convert/
+%{perl_vendorlib}/Convert/ASN1
+%{perl_vendorlib}/Convert/ASN1.pm
+%{perl_vendorlib}/Convert/ASN1.pod
+%{_mandir}/man3/Convert::ASN1.3pm*
%files tests
%{_libexecdir}/%{name}
%changelog
+* Fri Nov 20 2026 Petr Pisar <ppisar@redhat.com> - 0.37-1
+- 0.37 bump
+
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.34-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
diff --git a/sources b/sources
index 71130bb..94b40e9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Convert-ASN1-0.34.tar.gz) = f19734b5c267705467b59ddb4c4c7e0e23916da2aac2ac59629fef1c06e033d032fd27c68533beb3f928c02d8780e52ada2092630c72ef3da4561eadafd7936a
+SHA512 (Convert-ASN1-0.37.tar.gz) = 5ae5d6e1a699c62248c7f45955339ca195171c8c6c675ec87e960140e2b3361004063d3f19da2ab9baad93fcc77fbae62e7f196051de1853c3cb3e58f3342552
reply other threads:[~2026-11-20 13:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179518107200.1.15565843166050421681.rpms-perl-Convert-ASN1-2971ef37e618@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox