public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/cpanspec] epel10: Correct the dep list
Date: Wed, 21 Oct 2026 16:04:28 GMT	[thread overview]
Message-ID: <179259866808.1.17544034597339985452.rpms-cpanspec-08581e9e6165@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/cpanspec
            Branch : epel10
            Commit : 08581e9e6165d02eaef573003c909ea39f59ccfe
            Author : Petr Šabata <contyk@redhat.com>
            Date   : 2015-06-25T11:07:25+02:00
            Stats  : +16/-18 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/cpanspec/c/08581e9e6165d02eaef573003c909ea39f59ccfe?branch=epel10

            Log:
            Correct the dep list

- Modernize and clean the spec a bit

---
diff --git a/cpanspec.spec b/cpanspec.spec
index 3d11b07..dd845c1 100644
--- a/cpanspec.spec
+++ b/cpanspec.spec
@@ -1,6 +1,6 @@
 Name:           cpanspec
 Version:        1.78
-Release:        21%{?dist}
+Release:        22%{?dist}
 Summary:        RPM spec file generation utility
 License:        GPL+ or Artistic
 Group:          Development/Tools
@@ -9,10 +9,12 @@ Source0:        http://sourceforge.net/downloads/%{name}/%{name}/%{version}/%{na
 Patch0:         %{name}-1.78-Change-optimize-to-optflags.patch
 Patch1:         %{name}-1.78-Strip-any-version-comparison-operator-from-the-perl-BR.patch
 Patch2:         %{name}-1.78-Escape-slashes-in-filters.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  perl
 BuildRequires:  perl(Module::Build)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 Requires:       /usr/bin/curl
 Requires:       /usr/bin/repoquery
 Requires:       rpm-build
@@ -32,30 +34,26 @@ contained in the spec file is correct.
 %patch2 -p1
 
 %build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
 ./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-./Build install destdir=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-%{_fixperms} $RPM_BUILD_ROOT/*
-
-# No tests.
-#%check
-#./Build test
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+./Build install destdir=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} +
+%{_fixperms} %{buildroot}/*
 
 %files
-%defattr(-,root,root,-)
-%doc Artistic BUGS Changes COPYING TODO
+%{!?_licensedir:%global license %%doc}
+%license Artistic COPYING
+%doc BUGS Changes TODO
 %{_bindir}/*
 %{_mandir}/man1/*
 
 %changelog
+* Thu Jun 25 2015 Petr Šabata <contyk@redhat.com> - 1.78-22
+- Correct the dep list
+- Modernize and clean the spec a bit
+
 * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.78-21
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 

                 reply	other threads:[~2026-10-21 16:04 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=179259866808.1.17544034597339985452.rpms-cpanspec-08581e9e6165@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