Skip to content

Commit 3cf32aa

Browse files
authored
Upgrade: perl-Variable-Magic to version 0.64 (microsoft#11554)
1 parent 110e2e4 commit 3cf32aa

File tree

3 files changed

+81
-21
lines changed

3 files changed

+81
-21
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"perl-Variable-Magic-0.62.tar.gz": "3f9a18517e33f006a9c2fc4f43f01b54abfe6ff2eae7322424f31069296b615c"
3+
"Variable-Magic-0.64.tar.gz": "9f7853249c9ea3b4df92fb6b790c03a60680fc029f44c8bf9894dccf019516bd"
44
}
55
}

SPECS-EXTENDED/perl-Variable-Magic/perl-Variable-Magic.spec

Lines changed: 78 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
Name: perl-Variable-Magic
2-
Version: 0.62
3-
Release: 10%{?dist}
2+
Version: 0.64
3+
Release: 4%{?dist}
44
Summary: Associate user-defined magic to variables from Perl
5-
License: GPL+ or Artistic
5+
License: GPL-1.0-or-later OR Artistic-1.0-Perl
66
Vendor: Microsoft Corporation
77
Distribution: Azure Linux
8+
89
URL: https://metacpan.org/release/Variable-Magic
9-
Source0: https://cpan.metacpan.org/authors/id/V/VP/VPIT/Variable-Magic-%{version}.tar.gz#/perl-Variable-Magic-%{version}.tar.gz
10+
Source0: https://cpan.metacpan.org/authors/id/V/VP/VPIT/Variable-Magic-%{version}.tar.gz
1011
BuildRequires: coreutils
1112
BuildRequires: findutils
1213
BuildRequires: gcc
@@ -45,7 +46,6 @@ BuildRequires: perl(threads::shared)
4546
BuildRequires: perl(Tie::Array)
4647
BuildRequires: perl(Tie::Hash)
4748
# Dependencies
48-
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
4949
Requires: perl(Carp)
5050
Requires: perl(XSLoader)
5151

@@ -61,28 +61,88 @@ you can add your own magic to any variable without the pain of the C API.
6161
%setup -q -n Variable-Magic-%{version}
6262

6363
%build
64-
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1
65-
make %{?_smp_mflags}
64+
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
65+
%{make_build}
6666

6767
%install
68-
make pure_install DESTDIR=$RPM_BUILD_ROOT
69-
70-
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -delete
71-
72-
%{_fixperms} -c $RPM_BUILD_ROOT/*
68+
%{make_install}
69+
find %{buildroot} -type f -name '*.bs' -empty -delete
70+
%{_fixperms} -c %{buildroot}
7371

7472
%check
7573
make test
7674

7775
%files
78-
%doc Changes README
79-
%{perl_vendorarch}/auto/*
80-
%{perl_vendorarch}/Variable*
81-
%{_mandir}/man3/*
76+
%doc Changes CONTRIBUTING README
77+
%{perl_vendorarch}/auto/Variable/
78+
%{perl_vendorarch}/Variable/
79+
%{_mandir}/man3/Variable::Magic.3*
8280

8381
%changelog
84-
* Fri Oct 15 2021 Pawel Winogrodzki <[email protected]> - 0.62-10
85-
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
82+
* Wed Dec 18 2024 Sumit Jena <[email protected]> - 0.64-4
83+
- Initial Azure Linux import from Fedora 41 (license: MIT).
84+
- License verified.
85+
86+
* Fri Jul 19 2024 Fedora Release Engineering <[email protected]> - 0.64-3
87+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
88+
89+
* Mon Jun 10 2024 Jitka Plesnikova <[email protected]> - 0.64-2
90+
- Perl 5.40 rebuild
91+
92+
* Tue Mar 19 2024 Paul Howarth <[email protected]> - 0.64-1
93+
- Update to 0.64 (rhbz#2270204)
94+
- This is a maintenance release; the code contains no functional change
95+
- Contributing guidelines are now listed in the new CONTRIBUTING file
96+
- Fix for t/18-opinfo.t broken under blead (CPAN RT#151104)
97+
- Use %%{make_build} and %%{make_install}
98+
- Make %%files list more explicit
99+
100+
* Thu Jan 25 2024 Fedora Release Engineering <[email protected]> - 0.63-6
101+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
102+
103+
* Sun Jan 21 2024 Fedora Release Engineering <[email protected]> - 0.63-5
104+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
105+
106+
* Fri Jul 21 2023 Fedora Release Engineering <[email protected]> - 0.63-4
107+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
108+
109+
* Tue Jul 11 2023 Jitka Plesnikova <[email protected]> - 0.63-3
110+
- Perl 5.38 rebuild
111+
112+
* Fri Jan 20 2023 Fedora Release Engineering <[email protected]> - 0.63-2
113+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
114+
115+
* Wed Sep 21 2022 Paul Howarth <[email protected]> - 0.63-1
116+
- Update to 0.63 (rhbz#2128532)
117+
- Add support for 5.37.3's PADSV_STORE optimization; B.pm-related tests have
118+
been taught about this new thing (CPAN RT#144052)
119+
- Updated contact information
120+
- Use SPDX-format license tag
121+
122+
* Fri Jul 22 2022 Fedora Release Engineering <[email protected]> - 0.62-17
123+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
124+
125+
* Tue May 31 2022 Jitka Plesnikova <[email protected]> - 0.62-16
126+
- Perl 5.36 rebuild
127+
128+
* Fri Jan 21 2022 Fedora Release Engineering <[email protected]> - 0.62-15
129+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
130+
131+
* Tue Jul 27 2021 Fedora Release Engineering <[email protected]> - 0.62-14
132+
- Second attempt - Rebuilt for
133+
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
134+
135+
* Fri May 21 2021 Jitka Plesnikova <[email protected]> - 0.62-13
136+
- Perl 5.34 rebuild
137+
138+
* Wed Jan 27 2021 Fedora Release Engineering <[email protected]> - 0.62-12
139+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
140+
141+
* Tue Jul 28 2020 Fedora Release Engineering <[email protected]> - 0.62-11
142+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
143+
144+
* Tue Jun 23 2020 Jitka Plesnikova <[email protected]> - 0.62-10
145+
- Perl 5.32 rebuild
86146

87147
* Thu Jan 30 2020 Fedora Release Engineering <[email protected]> - 0.62-9
88148
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20743,8 +20743,8 @@
2074320743
"type": "other",
2074420744
"other": {
2074520745
"name": "perl-Variable-Magic",
20746-
"version": "0.62",
20747-
"downloadUrl": "https://cpan.metacpan.org/authors/id/V/VP/VPIT/Variable-Magic-0.62.tar.gz"
20746+
"version": "0.64",
20747+
"downloadUrl": "https://cpan.metacpan.org/authors/id/V/VP/VPIT/Variable-Magic-0.64.tar.gz"
2074820748
}
2074920749
}
2075020750
},

0 commit comments

Comments
 (0)