|
|
@ -4,7 +4,7 @@
|
|
|
|
Summary: ASN.1 encode/decode library
|
|
|
|
Summary: ASN.1 encode/decode library
|
|
|
|
Name: perl-Convert-ASN1
|
|
|
|
Name: perl-Convert-ASN1
|
|
|
|
Version: 0.27
|
|
|
|
Version: 0.27
|
|
|
|
Release: 18%{?dist}
|
|
|
|
Release: 24%{?dist}
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: https://metacpan.org/release/Convert-ASN1
|
|
|
|
URL: https://metacpan.org/release/Convert-ASN1
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/G/GB/GBARR/Convert-ASN1-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/G/GB/GBARR/Convert-ASN1-%{version}.tar.gz
|
|
|
@ -41,7 +41,6 @@ BuildRequires: perl(bytes)
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(IO::Socket)
|
|
|
|
BuildRequires: perl(IO::Socket)
|
|
|
|
BuildRequires: perl(Math::BigInt) >= 1.997
|
|
|
|
BuildRequires: perl(Math::BigInt) >= 1.997
|
|
|
|
BuildRequires: perl(Test::More) >= 0.90
|
|
|
|
|
|
|
|
%if %{with perl_Convert_ASN1_enables_optional_test}
|
|
|
|
%if %{with perl_Convert_ASN1_enables_optional_test}
|
|
|
|
# Optional tests:
|
|
|
|
# Optional tests:
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
@ -76,15 +75,10 @@ with "%{_libexecdir}/%{name}/test".
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Convert-ASN1-%{version}
|
|
|
|
%setup -q -n Convert-ASN1-%{version}
|
|
|
|
%patch -P0 -p1
|
|
|
|
%patch0 -p1
|
|
|
|
%patch -P1 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch -P2 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
|
|
|
|
chmod +x t/*.t
|
|
|
|
# Help file to recognise the Perl scripts
|
|
|
|
|
|
|
|
for F in t/*.t; do
|
|
|
|
|
|
|
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
|
|
|
|
|
|
|
chmod +x "$F"
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
@ -103,7 +97,6 @@ chmod +x %{buildroot}/%{_libexecdir}/%{name}/test
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
unset YYDEBUG
|
|
|
|
unset YYDEBUG
|
|
|
|
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
|
|
|
|
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -116,11 +109,30 @@ make test
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Thu Dec 14 2023 Jitka Plesnikova <jplesnik@redhat.com> - 0.27-18
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.27-24
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.27-23
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-22
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.27-21
|
|
|
|
- Fix unsafe decoding in indef case (CVE-2013-7488)
|
|
|
|
- Fix unsafe decoding in indef case (CVE-2013-7488)
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 17 2019 Petr Pisar <ppisar@redhat.com> - 0.27-17
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-20
|
|
|
|
- Bump a release to replace the EPEL package (bug #1746898)
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.27-19
|
|
|
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-18
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Oct 30 2019 Petr Pisar <ppisar@redhat.com> - 0.27-17
|
|
|
|
|
|
|
|
- Quote a substituted number of processors in the test script
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 28 2019 Petr Pisar <ppisar@redhat.com> - 0.27-16
|
|
|
|
* Wed Aug 28 2019 Petr Pisar <ppisar@redhat.com> - 0.27-16
|
|
|
|
- Modernize spec file
|
|
|
|
- Modernize spec file
|
|
|
|