public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Module-Install-Copyright] rawhide: Modernize a spec file
Date: Wed, 14 Oct 2026 10:54:19 GMT	[thread overview]
Message-ID: <179197525971.1.7201095554322204789.rpms-perl-Module-Install-Copyright-9b81b9e2e636@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Module-Install-Copyright
Branch : rawhide
Commit : 9b81b9e2e636a20695dd748144d36303615cc515
Author : Petr Písař <ppisar@redhat.com>
Date   : 2026-10-14T12:53:24+02:00
Stats  : +20/-15 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Module-Install-Copyright/c/9b81b9e2e636a20695dd748144d36303615cc515?branch=rawhide

Log:
Modernize a spec file

---
diff --git a/perl-Module-Install-Copyright.spec b/perl-Module-Install-Copyright.spec
index fa5dccb..207d2d3 100644
--- a/perl-Module-Install-Copyright.spec
+++ b/perl-Module-Install-Copyright.spec
@@ -2,23 +2,20 @@ Name:           perl-Module-Install-Copyright
 Version:        0.009
 Release:        30%{?dist}
 Summary:        Package a COPYRIGHT file with a distribution
-# CONTRIBUTING: CC-BY-SA
-# COPYRIGHT:    Public Domain
-# Other file:   GPL+ or Artistic
-# Automatically converted from old format: (GPL+ or Artistic) and CC-BY-SA and Public Domain - review is highly recommended.
-License:        (GPL-1.0-or-later OR Artistic-1.0-Perl) AND LicenseRef-Callaway-CC-BY-SA AND LicenseRef-Callaway-Public-Domain
+# CONTRIBUTING: CC-BY-SA-2.0-UK
+# COPYRIGHT:    LicenseRef-Fedora-Public-Domain
+# Other file:   GPL-1.0-or-later OR Artistic-1.0-Perl
+License:        (GPL-1.0-or-later OR Artistic-1.0-Perl) AND CC-BY-SA-2.0-UK AND LicenseRef-Fedora-Public-Domain
 URL:            https://metacpan.org/release/Module-Install-Copyright
 Source0:        https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Module-Install-Copyright-%{version}.tar.gz
 # To boostrap this package without bundling
 Patch0:         Module-Install-Copyright-0.009-Build-without-bundled-Module-Package-modules.patch
 BuildArch:      noarch
 BuildRequires:  coreutils
-BuildRequires:  findutils
 BuildRequires:  make
-BuildRequires:  perl-interpreter
 BuildRequires:  perl-generators
+BuildRequires:  perl-interpreter
 BuildRequires:  perl(inc::Module::Package)
-BuildRequires:  sed
 # Run-time:
 BuildRequires:  perl(:VERSION) >= 5.8.0
 BuildRequires:  perl(base)
@@ -53,15 +50,14 @@ copyright file format.
 # the inc/Module/Package/Dist/RDF.pm is not good for anything so the patch
 # makes not to load it.
 rm -rf ./inc
-sed -i -e '/^inc/d' MANIFEST
+perl -i -ne 'print $_ unless m{^inc/}' MANIFEST
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
 
 %install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -delete
+%{make_install}
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -71,8 +67,17 @@ make test
 %license LICENSE
 %doc Changes CONTRIBUTING COPYRIGHT CREDITS README
 %doc examples
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%dir %{perl_vendorlib}/Module
+%dir %{perl_vendorlib}/Module/Install
+%dir %{perl_vendorlib}/Module/Install/Admin
+%{perl_vendorlib}/Module/Install/Admin/Copyright.pm
+%{perl_vendorlib}/Module/Install/Admin/Credits.pm
+%{perl_vendorlib}/Module/Install/Copyright.pm
+%{perl_vendorlib}/Module/Install/Credits.pm
+%{_mandir}/man3/Module::Install::Admin::Copyright.*
+%{_mandir}/man3/Module::Install::Admin::Credits.*
+%{_mandir}/man3/Module::Install::Copyright.*
+%{_mandir}/man3/Module::Install::Credits.*
 
 %changelog
 * Wed Oct 14 2026 Petr Pisar <ppisar@redhat.com> - 0.009-30

                 reply	other threads:[~2026-10-14 10:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179197525971.1.7201095554322204789.rpms-perl-Module-Install-Copyright-9b81b9e2e636@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox