public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jitka Plesnikova <jplesnik@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Cache-Simple-TimedExpiry] rawhide: Re-add to Fedora
Date: Wed, 08 Jul 2026 05:44:01 GMT	[thread overview]
Message-ID: <178348944174.1.15916363248030475446.rpms-perl-Cache-Simple-TimedExpiry-8bc1fa5a27a0@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Cache-Simple-TimedExpiry
Branch : rawhide
Commit : 8bc1fa5a27a06c59de4b9ca96da04d2ee1af8617
Author : Jitka Plesnikova <jplesnik@redhat.com>
Date   : 2026-07-08T07:43:53+02:00
Stats  : +34/-41 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Cache-Simple-TimedExpiry/c/8bc1fa5a27a06c59de4b9ca96da04d2ee1af8617?branch=rawhide

Log:
Re-add to Fedora

---
diff --git a/Cache-Simple-TimedExpiry-0.27-Fix-building-on-Perl-without-dot-in-INC.patch b/Cache-Simple-TimedExpiry-0.27-Fix-building-on-Perl-without-dot-in-INC.patch
deleted file mode 100644
index 8804da3..0000000
--- a/Cache-Simple-TimedExpiry-0.27-Fix-building-on-Perl-without-dot-in-INC.patch
+++ /dev/null
@@ -1,9 +0,0 @@
-diff -up Cache-Simple-TimedExpiry-0.27/Makefile.PL.orig Cache-Simple-TimedExpiry-0.27/Makefile.PL
---- Cache-Simple-TimedExpiry-0.27/Makefile.PL.orig	2017-05-16 09:59:38.027940235 +0200
-+++ Cache-Simple-TimedExpiry-0.27/Makefile.PL	2017-05-16 10:00:02.198842324 +0200
-@@ -1,3 +1,5 @@
-+BEGIN { push @INC, '.'; }
-+
-            use inc::Module::Install;
- 
-            name            ('Cache-Simple-TimedExpiry');

diff --git a/perl-Cache-Simple-TimedExpiry.spec b/perl-Cache-Simple-TimedExpiry.spec
index dcff0c4..e371633 100644
--- a/perl-Cache-Simple-TimedExpiry.spec
+++ b/perl-Cache-Simple-TimedExpiry.spec
@@ -1,56 +1,58 @@
-Name: 		perl-Cache-Simple-TimedExpiry
-Version: 	0.27
-Release: 	51%{?dist}
-Summary: 	A lightweight cache with timed expiration
-License: 	GPL-1.0-or-later OR Artistic-1.0-Perl
-URL: 		https://metacpan.org/release/Cache-Simple-TimedExpiry
-Source0: 	https://cpan.metacpan.org/authors/id/J/JE/JESSE/Cache-Simple-TimedExpiry-%{version}.tar.gz
-BuildArch: 	noarch
-Patch0:         Cache-Simple-TimedExpiry-0.27-Fix-building-on-Perl-without-dot-in-INC.patch
-
-BuildRequires:	findutils
-BuildRequires:	%{__make}
-
-BuildRequires:	perl-interpreter
-BuildRequires:	perl-generators
-BuildRequires:	perl(Cwd)
-BuildRequires:	perl(ExtUtils::MakeMaker)
-BuildRequires:	perl(ExtUtils::MM_Unix)
-BuildRequires:	perl(File::Find)
-BuildRequires:	perl(File::Path)
-BuildRequires:	perl(FindBin)
-BuildRequires:	perl(strict)
-BuildRequires:	perl(Test::More)
-BuildRequires:	perl(vars)
-BuildRequires:	perl(warnings)
+Name:           perl-Cache-Simple-TimedExpiry
+Version:        0.27
+Release:        52%{?dist}
+Summary:        A lightweight cache with timed expiration
+License:        GPL-1.0-or-later OR Artistic-1.0-Perl
+URL:            https://metacpan.org/release/Cache-Simple-TimedExpiry
+Source0:        https://cpan.metacpan.org/authors/id/J/JE/JESSE/Cache-Simple-TimedExpiry-%{version}.tar.gz
+BuildArch:      noarch
+
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+
+BuildRequires:  perl-generators
+BuildRequires:  perl-interpreter
+BuildRequires:  perl(inc::Module::Install)
+BuildRequires:  perl(Module::Install::Metadata)
+BuildRequires:  perl(Module::Install::WriteAll)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
 
 Requires:       perl(Data::Dumper)
 
 %description
-A lightweight cache with timed expiration
+A lightweight cache with timed expiration.
 
 %prep
 %setup -q -n Cache-Simple-TimedExpiry-%{version}
-%patch -P0 -p1
+# Remove bundled libraries
+rm -r inc
+perl -i -ne 'print $_ unless m{^inc/}' MANIFEST
+find -type f -exec chmod -x {} +
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
 %{make_build}
 
 %install
 %{make_install}
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+%{_fixperms} $RPM_BUILD_ROOT
 
 %check
-%{__make} test
+make test
 
 %files
 %doc Changes
 %{perl_vendorlib}/Cache
-%{_mandir}/man3/*
+%{_mandir}/man3/Cache::Simple::TimedExpiry*
 
 %changelog
+* Tue Jul 07 2026 Jitka Plesnikova <jplesnik@redhat.com> - 0.27-52
+- Re-add to Fedora
+
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-51
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

                 reply	other threads:[~2026-07-08  5:44 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=178348944174.1.15916363248030475446.rpms-perl-Cache-Simple-TimedExpiry-8bc1fa5a27a0@fedoraproject.org \
    --to=jplesnik@redhat.com \
    --cc=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