public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-File-CheckTree] epel10.2: Modernize the spec file
Date: Wed, 26 Aug 2026 11:14:34 GMT	[thread overview]
Message-ID: <178774287493.1.8921987408773194605.rpms-perl-File-CheckTree-212246dc7518@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-File-CheckTree
Branch : epel10.2
Commit : 212246dc7518250ca9dd434e70d0a5322f9dc3bb
Author : Petr Písař <ppisar@redhat.com>
Date   : 2018-07-13T14:36:01+02:00
Stats  : +16/-11 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-File-CheckTree/c/212246dc7518250ca9dd434e70d0a5322f9dc3bb?branch=epel10.2

Log:
Modernize the spec file

---
diff --git a/perl-File-CheckTree.rpmlintrc b/perl-File-CheckTree.rpmlintrc
new file mode 100644
index 0000000..cbeafb4
--- /dev/null
+++ b/perl-File-CheckTree.rpmlintrc
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (cd|prepended)");

diff --git a/perl-File-CheckTree.spec b/perl-File-CheckTree.spec
index 794bcf2..ca39a45 100644
--- a/perl-File-CheckTree.spec
+++ b/perl-File-CheckTree.spec
@@ -1,32 +1,31 @@
 Name:           perl-File-CheckTree
 Version:        4.42
-Release:        302%{?dist}
+Release:        303%{?dist}
 Summary:        Run many file-test checks on a tree
 License:        GPL+ or Artistic
-Group:          Development/Libraries
 URL:            https://metacpan.org/release/File-CheckTree
 Source0:        https://cpan.metacpan.org/authors/id/R/RJ/RJBS/File-CheckTree-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl-interpreter
+BuildRequires:  make
 BuildRequires:  perl-generators
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl-interpreter
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  perl(strict)
 BuildRequires:  perl(warnings)
 # Run-time:
 BuildRequires:  perl(Cwd)
-%if 0%(perl -e 'print $] > 5.017')
 BuildRequires:  perl(deprecate)
-%endif
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(if)
 # Tests:
 BuildRequires:  perl(overload)
 BuildRequires:  perl(Test::More)
+# Optional tests:
+# Test::EOL not used
+# Test::Pod 1.41 not used
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
-%if 0%(perl -e 'print $] > 5.017')
 Requires:       perl(deprecate)
-%endif
 
 %description
 File::CheckTree::validate() routine takes a single multi-line string
@@ -43,23 +42,27 @@ or warn() message, you can use $file to interpolate the file name.
 %setup -q -n File-CheckTree-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
+unset RELEASE_TESTING
 make test
 
 %files
-%doc Changes LICENSE README
+%license LICENSE
+%doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jul 13 2018 Petr Pisar <ppisar@redhat.com> - 4.42-303
+- Modernize the spec file
+
 * Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4.42-302
 - Perl 5.28 rebuild
 

                 reply	other threads:[~2026-08-26 11:14 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=178774287493.1.8921987408773194605.rpms-perl-File-CheckTree-212246dc7518@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