1
- Vendor: Microsoft Corporation
2
- Distribution: Azure Linux
3
1
Name: perl-Crypt-OpenSSL-Guess
4
- Version: 0.11
5
- Release: 8 %{?dist }
2
+ Version: 0.15
3
+ Release: 9 %{?dist }
6
4
Summary: Guess OpenSSL include path
7
- License: GPL+ or Artistic
5
+ License: GPL-1.0-or-later OR Artistic-1.0 -Perl
6
+ Vendor: Microsoft Corporation
7
+ Distribution: Azure Linux
8
+
8
9
URL: https://metacpan.org/release/Crypt-OpenSSL-Guess/
9
10
Source0: https://cpan.metacpan.org/authors/id/A/AK/AKIYM/Crypt-OpenSSL-Guess-%{version }.tar.gz#/perl-Crypt-OpenSSL-Guess-%{version}.tar.gz
10
11
BuildArch: noarch
12
+ BuildRequires: coreutils
11
13
BuildRequires: make
12
14
BuildRequires: perl-generators
13
15
BuildRequires: perl-interpreter
@@ -16,35 +18,61 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
16
18
BuildRequires: perl(strict)
17
19
# Run-time
18
20
BuildRequires: perl(Config)
21
+ BuildRequires: perl(English)
19
22
BuildRequires: perl(Exporter) >= 5.57
20
23
BuildRequires: perl(ExtUtils::MM)
21
24
BuildRequires: perl(File::Spec)
22
25
BuildRequires: perl(Symbol)
23
26
BuildRequires: perl(warnings)
24
27
# Tests
25
28
BuildRequires: perl(Test::More) >= 0.98
26
- Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
27
29
Requires: perl(Exporter) >= 5.57
28
30
Recommends: openssl
31
+ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
29
32
30
33
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Exporter\\)\\s*$
31
34
32
35
%description
33
36
Crypt::OpenSSL::Guess provides helpers to guess OpenSSL include path on any
34
37
platforms.
35
38
39
+ %package tests
40
+ Summary: Tests for %{name }
41
+ Requires: %{name } = %{?epoch:%{epoch }:}%{version }-%{release }
42
+ Requires: perl-Test-Harness
43
+
44
+ %description tests
45
+ Tests from %{name }. Execute them
46
+ with "%{_libexecdir }/%{name }/test".
47
+
36
48
%prep
37
49
%setup -q -n Crypt-OpenSSL-Guess-%{version }
38
50
51
+ # Help file to recognise the Perl scripts
52
+ for F in t/*.t; do
53
+ perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && ! s{\A#!.*perl\b}{$Config{startperl}}' "$F"
54
+ chmod +x "$F"
55
+ done
56
+
39
57
%build
40
- perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
41
- make %{? _smp_mflags }
58
+ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
59
+ %{ make_build }
42
60
43
61
%install
44
- make pure_install DESTDIR=$RPM_BUILD_ROOT
45
- %{_fixperms } $RPM_BUILD_ROOT /*
62
+ %{make_install }
63
+ %{_fixperms } %{buildroot }/*
64
+
65
+ # Install tests
66
+ mkdir -p %{buildroot }%{_libexecdir }/%{name }
67
+ cp -a t %{buildroot }%{_libexecdir }/%{name }
68
+ cat > %{buildroot }%{_libexecdir }/%{name }/test << 'EOF'
69
+ #!/bin/sh
70
+ cd %{_libexecdir }/%{name } && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
71
+ EOF
72
+ chmod +x %{buildroot }%{_libexecdir }/%{name }/test
46
73
47
74
%check
75
+ export HARNESS_OPTIONS=j$( perl -e ' if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- ' %{?_smp_mflags}' )
48
76
make test
49
77
50
78
%files
@@ -53,9 +81,67 @@ make test
53
81
%{perl_vendorlib} /*
54
82
%{_mandir }/man3/*
55
83
84
+ %files tests
85
+ %{_libexecdir }/%{name }
86
+
56
87
%changelog
57
- *
Fri Oct 15 2021 Pawel Winogrodzki <[email protected] > -
0.11-8
58
- - Initial CBL-Mariner import from Fedora 32 (license: MIT).
88
+ *
Wed Dec 18 2024 Jyoti kanase <[email protected] > -
0.15 - 9
89
+ - Initial Azure Linux import from Fedora 41 (license: MIT).
90
+ - License verified.
91
+
92
+ *
Thu Jul 18 2024 Fedora Release Engineering <[email protected] > -
0.15-8
93
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
94
+
95
+ *
Thu Jan 25 2024 Fedora Release Engineering <[email protected] > -
0.15-7
96
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
97
+
98
+ *
Sun Jan 21 2024 Fedora Release Engineering <[email protected] > -
0.15-6
99
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
100
+
101
+ *
Thu Jul 20 2023 Fedora Release Engineering <[email protected] > -
0.15-5
102
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
103
+
104
+ *
Fri Jan 20 2023 Fedora Release Engineering <[email protected] > -
0.15-4
105
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
106
+
107
+ *
Fri Jul 22 2022 Fedora Release Engineering <[email protected] > -
0.15-3
108
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
109
+
110
+ *
Mon May 30 2022 Jitka Plesnikova <[email protected] > -
0.15-2
111
+ - Perl 5.36 rebuild
112
+
113
+ *
Sun Feb 13 2022 Jitka Plesnikova <[email protected] > -
0.15-1
114
+ - 0.15 bump
115
+
116
+ *
Fri Jan 21 2022 Fedora Release Engineering <[email protected] > -
0.14-2
117
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
118
+
119
+ *
Mon Nov 01 2021 Jitka Plesnikova <[email protected] > -
0.14-1
120
+ - 0.14 bump
121
+
122
+ *
Thu Jul 22 2021 Fedora Release Engineering <[email protected] > -
0.13-3
123
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
124
+
125
+ *
Fri May 21 2021 Jitka Plesnikova <[email protected] > -
0.13-2
126
+ - Perl 5.34 rebuild
127
+
128
+ *
Tue May 04 2021 Jitka Plesnikova <[email protected] > -
0.13-1
129
+ - 0.13 bump
130
+
131
+ *
Tue Mar 09 2021 Jitka Plesnikova <[email protected] > -
0.12-2
132
+ - Package tests
133
+
134
+ *
Mon Mar 08 2021 Jitka Plesnikova <[email protected] > -
0.12-1
135
+ - 0.12 bump
136
+
137
+ *
Wed Jan 27 2021 Fedora Release Engineering <[email protected] > -
0.11-10
138
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
139
+
140
+ *
Tue Jul 28 2020 Fedora Release Engineering <[email protected] > -
0.11-9
141
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
142
+
143
+ *
Mon Jun 22 2020 Jitka Plesnikova <[email protected] > -
0.11-8
144
+ - Perl 5.32 rebuild
59
145
60
146
*
Wed Jan 29 2020 Fedora Release Engineering <[email protected] > -
0.11-7
61
147
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0 commit comments