public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-WWW-Curl] epel10: Specify all dependencies
@ 2026-08-02 10:04 Jitka Plesnikova
  0 siblings, 0 replies; only message in thread
From: Jitka Plesnikova @ 2026-08-02 10:04 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-WWW-Curl
Branch : epel10
Commit : c40c4f89c2d048623807d8985efa103cd2558b5a
Author : Jitka Plesnikova <jplesnik@redhat.com>
Date   : 2012-08-16T14:50:31+02:00
Stats  : +14/-10 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-WWW-Curl/c/c40c4f89c2d048623807d8985efa103cd2558b5a?branch=epel10

Log:
Specify all dependencies

---
diff --git a/perl-WWW-Curl.spec b/perl-WWW-Curl.spec
index f6764a0..0b6a4f7 100644
--- a/perl-WWW-Curl.spec
+++ b/perl-WWW-Curl.spec
@@ -1,15 +1,19 @@
 Name:           perl-WWW-Curl
 Version:        4.15
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Perl extension interface for libcurl
 License:        MPLv1.1 or MIT
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/WWW-Curl/
 Source0:        http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT/WWW-Curl-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:  perl >= 1:5.6.1
+
+BuildRequires:  perl(inc::Module::Install)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::Base)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(XSLoader)
 BuildRequires:  libcurl-devel
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -21,14 +25,14 @@ WWW::Curl is a Perl extension interface for libcurl.
 %prep
 %setup -q -n WWW-Curl-%{version}
 
+# Remove bundled modules
+rm -rf inc/*
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -52,17 +56,17 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{?!_with_network_tests: rm t/21write-to-scalar.t }
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/WWW*
 %{_mandir}/man3/*
 
 %changelog
+* Thu Aug 16 2012 Jitka Plesnikova <jplesnik@redhat.com> - 4.15-8
+- Specify all dependencies
+- Modernize spec file
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-08-02 10:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-02 10:04 [rpms/perl-WWW-Curl] epel10: Specify all dependencies Jitka Plesnikova

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