eseyman pushed to perl-Finance-YahooQuote (master). "Update to 0.25 (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Sun May 10 06:28:58 UTC 2015
From 28d37ad8c43f483c5495320e865e334fec02df4d Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Sun, 10 May 2015 08:28:39 +0200
Subject: Update to 0.25
Use NO_PACKLIST
Rework the %%doc section
Tighten file listing
Fix changelog
diff --git a/.gitignore b/.gitignore
index 650558a..d8dbe82 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Finance-YahooQuote-0.24.tar.gz
+/Finance-YahooQuote-0.25.tar.gz
diff --git a/perl-Finance-YahooQuote.spec b/perl-Finance-YahooQuote.spec
index 7447cc0..8b23628 100644
--- a/perl-Finance-YahooQuote.spec
+++ b/perl-Finance-YahooQuote.spec
@@ -1,6 +1,6 @@
Name: perl-Finance-YahooQuote
-Version: 0.24
-Release: 13%{?dist}
+Version: 0.25
+Release: 1%{?dist}
Summary: Perl interface to get stock quotes from Yahoo! Finance
Group: Development/Libraries
@@ -10,7 +10,11 @@ Source0: http://www.cpan.org/authors/id/E/ED/EDD/Finance-YahooQuote-%{ver
BuildArch: noarch
BuildRequires: perl
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires: perl(HTML::Parser) >= 2.2
+BuildRequires: perl(HTTP::Request) >= 1.23
+BuildRequires: perl(LWP::UserAgent) >= 1.62
+
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@@ -22,14 +26,12 @@ Perl interface to get stock quotes from Yahoo! Finance
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$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 ';'
chmod -R u+w $RPM_BUILD_ROOT/*
# Check is disabled because a package build must not use the network.
@@ -38,14 +40,22 @@ chmod -R u+w $RPM_BUILD_ROOT/*
%files
-%doc GNU-LICENSE
+%doc CHANGES README examples
+%license GNU-LICENSE
%{_bindir}/yahooquote
-%{perl_vendorlib}/*
-%{_mandir}/man1/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/Finance
+%{_mandir}/man1/yahooquote.1.gz
+%{_mandir}/man3/Finance::YahooQuote.3pm.gz
%changelog
+* Sun May 10 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 0.25-1
+- Update to 0.25
+- Use NO_PACKLIST
+- Rework the %%doc section
+- Tighten file listing
+- Fix changelog
+
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.24-13
- Perl 5.20 rebuild
@@ -83,7 +93,7 @@ chmod -R u+w $RPM_BUILD_ROOT/*
* Sat May 01 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.24-2
- Mass rebuild with perl-5.12.0
-* Mon Mar 30 2010 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 0.24-1
+* Tue Mar 30 2010 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 0.24-1
- Update to 0.24
* Mon Dec 7 2009 Stepan Kasal <skasal at redhat.com> - 0.22-3
diff --git a/sources b/sources
index e5f5aaf..ae49e6e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c6e97c1a2342424fc305e6bc782473b0 Finance-YahooQuote-0.24.tar.gz
+6490063c75b07ddf98c6c1157d3e6f2f Finance-YahooQuote-0.25.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Finance-YahooQuote.git/commit/?h=master&id=28d37ad8c43f483c5495320e865e334fec02df4d
More information about the perl-devel
mailing list