[perl-HTML-Tree] update to 5.02
by Tom Callaway
commit 2abb55a9394fdaeced4a08b5bfcc924e68ef5fd1
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Mon Jul 2 16:37:25 2012 -0400
update to 5.02
.gitignore | 1 +
perl-HTML-Tree.spec | 17 +++++++++--------
sources | 2 +-
3 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 22c8c58..2de399c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ HTML-Tree-3.23.tar.gz
/HTML-Tree-4.0.tar.gz
/HTML-Tree-4.1.tar.gz
/HTML-Tree-4.2.tar.gz
+/HTML-Tree-5.02.tar.gz
diff --git a/perl-HTML-Tree.spec b/perl-HTML-Tree.spec
index 7807cd4..3b5cef8 100644
--- a/perl-HTML-Tree.spec
+++ b/perl-HTML-Tree.spec
@@ -1,12 +1,12 @@
Name: perl-HTML-Tree
-Version: 4.2
-Release: 5%{?dist}
+Version: 5.02
+Release: 1%{?dist}
Epoch: 1
Summary: HTML tree handling modules for Perl
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/HTML-Tree/
-Source0: http://www.cpan.org/authors/id/J/JF/JFEARN/HTML-Tree-%{version}.tar.gz
+Source0: http://search.cpan.org/CPAN/authors/id/C/CJ/CJM/HTML-Tree-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(HTML::Parser) >= 3.46
BuildRequires: perl(HTML::Tagset) >= 3.02
@@ -15,7 +15,9 @@ BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::More)
-
+BuildRequires: perl(Test::Fatal)
+BuildRequires: perl(Test::LeakTrace)
+BuildRequires: perl(HTML::FormatText)
Requires: perl(HTML::Parser) >= 3.46
Requires: perl(HTML::Tagset) >= 3.02
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -45,17 +47,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%check
./Build test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes README TODO
%{_bindir}/htmltree
%{perl_vendorlib}/HTML
%{_mandir}/man3/HTML::*3*
%changelog
+* Mon Jul 2 2012 Tom Callaway <spot(a)fedoraproject.org> - 1:5.02-1
+- update to 5.02
+
* Wed Jun 13 2012 Petr Pisar <ppisar(a)redhat.com> - 1:4.2-5
- Perl 5.16 rebuild
diff --git a/sources b/sources
index 6685ec8..79608df 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a145ad037ac54b6192c0046383d267da HTML-Tree-4.2.tar.gz
+e82037a19710924e99acd2d14435c999 HTML-Tree-5.02.tar.gz
11 years, 10 months
[perl-Pod-Parser] Perl 5.16 rebuild
by Petr Pisar
commit cc97501e39ec7eb7054feb9f742cc4fc0a93f960
Author: Petr Písař <ppisar(a)redhat.com>
Date: Mon Jul 2 22:25:37 2012 +0200
Perl 5.16 rebuild
perl-Pod-Parser.spec | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/perl-Pod-Parser.spec b/perl-Pod-Parser.spec
index 8b68c5f..2f2333a 100644
--- a/perl-Pod-Parser.spec
+++ b/perl-Pod-Parser.spec
@@ -1,6 +1,6 @@
Name: perl-Pod-Parser
Version: 1.51
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Basic perl modules for handling Plain Old Documentation (POD)
License: GPL+ or Artistic
Group: Development/Libraries
@@ -57,5 +57,8 @@ make test
%{_mandir}/man3/*
%changelog
+* Mon Jul 02 2012 Petr Pisar <ppisar(a)redhat.com> - 1.51-2
+- Perl 5.16 rebuild
+
* Mon Jun 25 2012 Petr Pisar <ppisar(a)redhat.com> 1.51-1
- Specfile autogenerated by cpanspec 1.78.
11 years, 10 months
[perl-CGI-Application-Structured] Perl 5.16 rebuild
by Petr Pisar
commit 78b621d681a63433b6c98310fb55a64ae1166769
Author: Petr Písař <ppisar(a)redhat.com>
Date: Mon Jul 2 22:25:36 2012 +0200
Perl 5.16 rebuild
perl-CGI-Application-Structured.spec | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/perl-CGI-Application-Structured.spec b/perl-CGI-Application-Structured.spec
index d21d725..f17c373 100644
--- a/perl-CGI-Application-Structured.spec
+++ b/perl-CGI-Application-Structured.spec
@@ -1,6 +1,6 @@
Name: perl-CGI-Application-Structured
Version: 0.007
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Medium-weight, MVC, DB web framework
License: GPL+ or Artistic
Group: Development/Libraries
@@ -65,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
+* Mon Jul 02 2012 Petr Pisar <ppisar(a)redhat.com> - 0.007-5
+- Perl 5.16 rebuild
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.007-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
11 years, 10 months
[perl-Net-Twitter] Upgrade to 3.18003 (bz#836612)
by Julian C. Dunn
commit deaad56a21462a0e49229a2a6658233bacde3b57
Author: Julian C. Dunn <jdunn(a)aquezada.com>
Date: Mon Jul 2 15:48:20 2012 -0400
Upgrade to 3.18003 (bz#836612)
.gitignore | 1 +
perl-Net-Twitter.spec | 7 +++++--
sources | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3011bad..f3fa178 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/Net-Twitter-3.18001.tar.gz
/Net-Twitter-3.18002.tar.gz
+/Net-Twitter-3.18003.tar.gz
diff --git a/perl-Net-Twitter.spec b/perl-Net-Twitter.spec
index d909a1d..1cbde16 100644
--- a/perl-Net-Twitter.spec
+++ b/perl-Net-Twitter.spec
@@ -1,6 +1,6 @@
Name: perl-Net-Twitter
-Version: 3.18002
-Release: 2%{?dist}
+Version: 3.18003
+Release: 1%{?dist}
Summary: Perl interface to the Twitter API
License: GPL+ or Artistic
Group: Development/Libraries
@@ -78,6 +78,9 @@ env TEST_POD=1 make test
%{_mandir}/man3/*
%changelog
+* Mon Jul 02 2012 Julian C. Dunn <jdunn(a)aquezada.com> - 3.18003-1
+- Upgrade to 3.18003
+
* Mon Jun 25 2012 Petr Pisar <ppisar(a)redhat.com> - 3.18002-2
- Perl 5.16 rebuild
diff --git a/sources b/sources
index 88d388d..cdf9ff1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6bb5ffa27023ed854841bc80b0ee4797 Net-Twitter-3.18002.tar.gz
+4ec7f6bbc0f9159e5fc44fd0d52de645 Net-Twitter-3.18003.tar.gz
11 years, 10 months
[perl-Math-Pari] Migrate to build against libpari23
by Paul Howarth
commit 8d296dfb744806a49f9e46deffdc12002e80ee72
Author: Paul Howarth <paul(a)city-fan.org>
Date: Mon Jul 2 20:05:50 2012 +0100
Migrate to build against libpari23
- Migrate to build against libpari23, since the new pari 2.5.x is not yet
supported upstream (CPAN RT#69295, CPAN RT#70990)
- BR: perl(Carp)
- Don't need to remove empty directories from the buildroot
- Drop %defattr, redundant since rpm 4.4
Math-Pari-2.01080604-extra-stack-for-test.patch | 25 -----------
Math-Pari-2.01080605-include-path.patch | 11 +++++
perl-Math-Pari.spec | 53 ++++++++++-------------
sources | 1 -
4 files changed, 34 insertions(+), 56 deletions(-)
---
diff --git a/Math-Pari-2.01080605-include-path.patch b/Math-Pari-2.01080605-include-path.patch
new file mode 100644
index 0000000..515059a
--- /dev/null
+++ b/Math-Pari-2.01080605-include-path.patch
@@ -0,0 +1,11 @@
+--- Pari.xs
++++ Pari.xs
+@@ -3,7 +3,7 @@
+ # include <windows.h>
+ #endif
+
+-# include <pari.h>
++# include <pari/pari.h>
+ # include <graph/rect.h>
+ # include <language/anal.h>
+
diff --git a/perl-Math-Pari.spec b/perl-Math-Pari.spec
index 2e0965f..55d21fe 100644
--- a/perl-Math-Pari.spec
+++ b/perl-Math-Pari.spec
@@ -1,37 +1,24 @@
-# This package includes the pari library source even though we link
-# against the system version of the library; the library source is
-# needed to build the documentation for this perl binding and also
-# to enhance the test suite, by providing additional tests from the
-# main library test suite.
-#
-# Since this binding is tightly linked to the main library, we
-# have to enforce a tight dependency on the main pari library version
-# so that we stay in step properly.
-%global pari_version 2.3.5
-%global pari_int_version %(echo %{pari_version} | perl -pi -e 's/(\\d+)\\.(\\d+)\\.(\\d+)/sprintf("%d%03d%03d",$1,$2,$3)/e')
-
%global extraversion 05
Summary: Perl interface to PARI
Name: perl-Math-Pari
Version: 2.010806
-Release: 13%{?dist}
+Release: 14%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Url: http://search.cpan.org/dist/Math-Pari/
Source0: http://search.cpan.org/CPAN/authors/id/I/IL/ILYAZ/modules/Math-Pari-%{ver...
-Source1: http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/pari-%{pari_version}.tar.gz
Patch0: Math-Pari-2.010802-no-fake-version.patch
Patch1: Math-Pari-2.010802-docs-and-testsuite.patch
-Patch2: Math-Pari-2.01080604-extra-stack-for-test.patch
-BuildRequires: perl(DynaLoader)
+Patch2: Math-Pari-2.01080605-include-path.patch
+BuildRequires: libpari23-devel
+BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Enforce dependency against same version of pari that we're built for
-BuildRequires: pari-devel = %{pari_version}
-Requires: pari%{?_isa} = %{pari_version}
+Requires: libpari23%{?_isa} = %(pkg-config --modversion libpari23 2>/dev/null || echo 0)
# Don't "provide" private Perl libs or the redundant unversioned perl(Math::Pari)
%global __provides_exclude ^(perl\\(Math::Pari\\)$|Pari\\.so)
@@ -42,42 +29,41 @@ scientific/ number-theoretic calculations. It allows use of most PARI functions
as Perl functions, and (almost) seamless merging of PARI and Perl data.
%prep
-%setup -q -n Math-Pari-%{version}%{extraversion} -a 1
+%setup -q -n Math-Pari-%{version}%{extraversion}
# Remove spurious executable permission bits
-chmod -x Changes README Pari.pm PariInit.pm func_codes.h Pari.xs
+chmod -c -x Changes README Pari.pm PariInit.pm func_codes.h Pari.xs
# Don't use a fake version number when we can use a real one
%patch0 -p1
-sed -i -e s/@@@OUR-PARI-VERSION@@@/%{pari_int_version}/ Makefile.PL
+pari_int_version=$(pkg-config --modversion libpari23 | perl -pi -e 's/(\d+)\.(\d+)\.(\d+)/sprintf("%d%03d%03d",$1,$2,$3)/e')
+sed -i -e "s/@@@OUR-PARI-VERSION@@@/${pari_int_version}/" Makefile.PL
-# We want to build the docs and test suite from the local pari sources
+# We want to build the docs and test suite too
%patch1 -p1
-# Need extra stack for intnum test on some arches
-cd pari-%{pari_version}
-%patch2 -p2
-cd -
+# Use <pari/pari.h> as per pari upstream documentation
+%patch2
%build
+paridir=$(pkg-config --variable=paridir libpari23)
perl Makefile.PL \
INSTALLDIRS=vendor \
- OPTIMIZE="-I%{_includedir}/pari %{optflags}" \
- parilib="-lpari"
+ OPTIMIZE="$(pkg-config --cflags-only-I libpari23) -I${paridir}/src %{optflags}" \
+ paridir="${paridir}" \
+ parilib="$(pkg-config --libs libpari23)"
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
%{_fixperms} %{buildroot}
%check
make test
%files
-%defattr(-,root,root,-)
%doc Changes README
%dir %{perl_vendorarch}/Math/
%exclude %doc %{perl_vendorarch}/Math/libPARI.dumb.pod
@@ -90,6 +76,13 @@ make test
%exclude %{_mandir}/man3/Math::libPARI.dumb.3pm*
%changelog
+* Wed Jun 13 2012 Paul Howarth <paul(a)city-fan.org> - 2.010806-14
+- Migrate to build against libpari23, since the new pari 2.5.x is not yet
+ supported upstream (CPAN RT#69295, CPAN RT#70990)
+- BR: perl(Carp)
+- Don't need to remove empty directories from the buildroot
+- Drop %%defattr, redundant since rpm 4.4
+
* Mon Jun 11 2012 Petr Pisar <ppisar(a)redhat.com> - 2.010806-13
- Perl 5.16 rebuild
diff --git a/sources b/sources
index 220a366..747b530 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
ccb3da2bdce184a5df3f52cfa8b43a85 Math-Pari-2.01080605.tar.gz
-6077c6db56fdd32e39a06a9bf320e1f7 pari-2.3.5.tar.gz
11 years, 10 months