Notification time stamped 2022-11-29 11:49:04 UTC

From de15348ce0e9cb5ca23d4f0a5474c5b1e976a2c6 Mon Sep 17 00:00:00 2001
From: Ralf Corsépius <corse...@fedoraproject.org>
Date: Nov 29 2022 11:48:43 +0000
Subject: Modernize spec.


Convert license to SPDX.

---

diff --git a/perl-Sub-Exporter-Lexical.spec b/perl-Sub-Exporter-Lexical.spec
index 420b87a..2361b17 100644
--- a/perl-Sub-Exporter-Lexical.spec
+++ b/perl-Sub-Exporter-Lexical.spec
@@ -1,13 +1,12 @@
 Name:           perl-Sub-Exporter-Lexical
 Version:        0.092292
-Release:        19%{?dist}
+Release:        20%{?dist}
 Summary:        Export lexically-available subs with Sub::Exporter
-License:        GPL+ or Artistic
+License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/Sub-Exporter-Lexical
 Source0:        
https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Sub-Exporter-Lexical-%{version}.tar.gz
 BuildArch:      noarch
 
-BuildRequires: make
 BuildRequires:  %{__perl}
 BuildRequires:  %{__make}
 
@@ -34,11 +33,11 @@ routines into a lexical scope that will be cleaned up when 
that scope ends.
 %setup -q -n Sub-Exporter-Lexical-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
-%{__make} %{?_smp_mflags}
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
 
 %install
-%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
+%{make_install}
 
 # Bogusly installed script
 rm $RPM_BUILD_ROOT%{perl_vendorlib}/Sub/Exporter/snippet.pl
@@ -55,6 +54,10 @@ rm $RPM_BUILD_ROOT%{perl_vendorlib}/Sub/Exporter/snippet.pl
 %{_mandir}/man3/*
 
 %changelog
+* Tue Nov 29 2022 Ralf Corsépius <corse...@fedoraproject.org> - 0.092292-20
+- Modernize spec.
+- Convert license to SPDX.
+
 * Fri Jul 22 2022 Fedora Release Engineering <rel...@fedoraproject.org> - 
0.092292-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
 


        
https://src.fedoraproject.org/rpms/perl-Sub-Exporter-Lexical/c/de15348ce0e9cb5ca23d4f0a5474c5b1e976a2c6?branch=rawhide
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to