public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-File-CheckTree] epel10: Modernize the spec file
@ 2026-08-26 11:11 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-26 11:11 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-File-CheckTree
Branch : epel10
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

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-26 11:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26 11:11 [rpms/perl-File-CheckTree] epel10: Modernize the spec file 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox