corsepiu pushed to rpms/perl-Code-TidyAll-Plugin-Test-Vars (rawhide).
"Modernize spec. (..more)"
by notifications@fedoraproject.org
Notification time stamped 2022-11-28 12:23:07 UTC
From e3beacad0f358885f266513c40c0daa2e06e4c7f Mon Sep 17 00:00:00 2001
From: Ralf Corsépius <corsepiu(a)fedoraproject.org>
Date: Nov 28 2022 12:21:13 +0000
Subject: Modernize spec.
Convert license to SPDX.
---
diff --git a/perl-Code-TidyAll-Plugin-Test-Vars.spec b/perl-Code-TidyAll-Plugin-Test-Vars.spec
index e8b87c2..0ec8ab0 100644
--- a/perl-Code-TidyAll-Plugin-Test-Vars.spec
+++ b/perl-Code-TidyAll-Plugin-Test-Vars.spec
@@ -1,12 +1,12 @@
Name: perl-Code-TidyAll-Plugin-Test-Vars
Version: 0.04
-Release: 19%{?dist}
+Release: 20%{?dist}
Summary: Provides Test::Vars plugin for Code::TidyAll
-License: GPL+ or Artistic
+License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Code-TidyAll-Plugin-Test-Vars
Source0: https://cpan.metacpan.org/authors/id/M/MA/MAXMIND/Code-TidyAll-Plugin-Tes...
BuildArch: noarch
-BuildRequires: make
+
BuildRequires: perl-interpreter >= 0:5.006
BuildRequires: perl-generators
@@ -40,12 +40,11 @@ This module uses Test::Vars to detect unused variables in Perl modules.
%setup -q -n Code-TidyAll-Plugin-Test-Vars-%{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}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@@ -58,6 +57,10 @@ This module uses Test::Vars to detect unused variables in Perl modules.
%{_mandir}/man3/*
%changelog
+* Mon Nov 28 2022 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 0.04-20
+- Modernize spec.
+- Convert license to SPDX.
+
* Fri Jul 22 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.04-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
https://src.fedoraproject.org/rpms/perl-Code-TidyAll-Plugin-Test-Vars/c/e...
1 year, 6 months
corsepiu pushed to rpms/perl-namespace-sweep (rawhide). "Modernize
spec. (..more)"
by notifications@fedoraproject.org
Notification time stamped 2022-11-28 07:51:40 UTC
From aed7e101acb9261360aada0ae7a22af4fb57c935 Mon Sep 17 00:00:00 2001
From: Ralf Corsépius <corsepiu(a)fedoraproject.org>
Date: Nov 28 2022 07:51:31 +0000
Subject: Modernize spec.
Convert license to SPDX.
---
diff --git a/perl-namespace-sweep.spec b/perl-namespace-sweep.spec
index 2586465..b32be59 100644
--- a/perl-namespace-sweep.spec
+++ b/perl-namespace-sweep.spec
@@ -1,13 +1,12 @@
Name: perl-namespace-sweep
Version: 0.006
-Release: 18%{?dist}
+Release: 19%{?dist}
Summary: Sweep up imported subs in your classes
-License: GPL+ or Artistic
+License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/namespace-sweep
Source0: https://cpan.metacpan.org/authors/id/F/FR/FRIEDO/namespace-sweep-%{versio...
BuildArch: noarch
-BuildRequires: make
BuildRequires: %{__perl}
BuildRequires: %{__make}
@@ -46,16 +45,16 @@ will still be able to use the imported functions without any problems.
%setup -q -n namespace-sweep-%{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}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
-make test
+%{__make} test
%files
%doc README
@@ -64,6 +63,10 @@ make test
%{_mandir}/man3/*
%changelog
+* Mon Nov 28 2022 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 0.006-19
+- Modernize spec.
+- Convert license to SPDX.
+
* Fri Jul 22 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.006-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
https://src.fedoraproject.org/rpms/perl-namespace-sweep/c/aed7e101acb9261...
1 year, 6 months