[perl-HTTP-Message] 6.04 bump
by Petr Pisar
commit 5753a95b73d63cffd7945ff5dfab37d228ed3be2
Author: Petr Písař <ppisar(a)redhat.com>
Date: Tue Oct 2 15:25:02 2012 +0200
6.04 bump
.gitignore | 1 +
perl-HTTP-Message.spec | 42 +++++++++++++++---------------------------
sources | 2 +-
3 files changed, 17 insertions(+), 28 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 23ae9f0..fbb52d0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/HTTP-Message-6.01.tar.gz
/HTTP-Message-6.02.tar.gz
/HTTP-Message-6.03.tar.gz
+/HTTP-Message-6.04.tar.gz
diff --git a/perl-HTTP-Message.spec b/perl-HTTP-Message.spec
index 5bf7137..3426154 100644
--- a/perl-HTTP-Message.spec
+++ b/perl-HTTP-Message.spec
@@ -1,25 +1,23 @@
Name: perl-HTTP-Message
-Version: 6.03
-Release: 5%{?dist}
+Version: 6.04
+Release: 1%{?dist}
Summary: HTTP style message
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/HTTP-Message/
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Message-%{version}.tar.gz
BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+# Run-time:
BuildRequires: perl(Compress::Raw::Zlib)
-BuildRequires: perl(Encode) >= 2.12
+BuildRequires: perl(Encode) >= 2.21
BuildRequires: perl(Encode::Locale) >= 1
BuildRequires: perl(Exporter)
-BuildRequires: perl(ExtUtils::MakeMaker)
-# Break build-time cycle (bug #810223) HTML::Parser <-> HTTP::Headers
-%if 0%{!?perl_bootstrap:1}
-BuildRequires: perl(HTML::Parser) >= 3.33
-%endif
BuildRequires: perl(HTTP::Date) >= 6
BuildRequires: perl(IO::Compress::Bzip2) >= 2.021
BuildRequires: perl(IO::Compress::Deflate)
BuildRequires: perl(IO::Compress::Gzip)
+BuildRequires: perl(IO::HTML)
BuildRequires: perl(IO::Uncompress::Bunzip2) >= 2.021
BuildRequires: perl(IO::Uncompress::Gunzip)
BuildRequires: perl(IO::Uncompress::Inflate)
@@ -31,16 +29,16 @@ BuildRequires: perl(URI) >= 1.10
# Tests only:
BuildRequires: perl(Test)
BuildRequires: perl(Test::More)
-# Testing requires Time::Local used on MasOS only
+# Testing requires Time::Local on MacOS only
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Compress::Raw::Zlib)
-Requires: perl(Encode) >= 2.12
+Requires: perl(Encode) >= 2.21
Requires: perl(Encode::Locale) >= 1
-Requires: perl(HTML::Parser) >= 3.33
Requires: perl(HTTP::Date) >= 6
Requires: perl(IO::Compress::Bzip2) >= 2.021
Requires: perl(IO::Compress::Deflate)
Requires: perl(IO::Compress::Gzip)
+Requires: perl(IO::HTML)
Requires: perl(IO::Uncompress::Bunzip2) >= 2.021
Requires: perl(IO::Uncompress::Gunzip)
Requires: perl(IO::Uncompress::Inflate)
@@ -52,14 +50,8 @@ Requires: perl(URI) >= 1.10
Conflicts: perl-libwww-perl < 6
# Remove underspecified dependencies
-%filter_from_requires /^perl(HTTP::Date)\s*$/d
-%filter_from_requires /^perl(URI)\s*$/d
-%filter_from_provides /^perl(HTTP::Headers)\s*$/d
-%filter_setup
-
-%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(HTTP::Date|URI\\)$
-%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(HTTP::Headers\\)$
-
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((HTTP::Date|URI)\\)$
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(HTTP::Headers\\)$
%description
The HTTP-Message distribution contains classes useful for representing the
@@ -74,26 +66,22 @@ requests, responses and the headers contained within them.
make %{?_smp_mflags}
%install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_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/*
%check
-%if 0%{!?perl_bootstrap:1}
make test
-%else
-# t/message-charset.t exercises HTTP::Message, which requires HTML::Parser
-make test TEST_FILES="$(echo $(find t/ -name '*.t' | grep -Fvx t/message-charset.t))"
-%endif
%files
-%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Tue Oct 02 2012 Petr Pisar <ppisar(a)redhat.com> - 6.04-1
+- 6.04 bump
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 6.03-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
diff --git a/sources b/sources
index 3cccdc3..1aee6c8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d41b22c7c01b974f2b4e85d401a6b552 HTTP-Message-6.03.tar.gz
+d3cedbb4b1ca476ab2b0a70b5c289fe1 HTTP-Message-6.04.tar.gz
10 years, 5 months
[perl-Algorithm-NaiveBayes: 7/7] Upload the sources
by Mathieu Bridon
commit 038142907ad46a4f6b63592d2f8068827a7d46a1
Author: Mathieu Bridon <bochecha(a)fedoraproject.org>
Date: Wed Oct 3 12:14:39 2012 +0800
Upload the sources
.gitignore | 1 +
sources | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0697e5d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Algorithm-NaiveBayes-0.04.tar.gz
diff --git a/sources b/sources
index e69de29..9ae1b54 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bd461c9ea2f140a75d5364cc98c2ef09 Algorithm-NaiveBayes-0.04.tar.gz
10 years, 5 months
[perl-Algorithm-NaiveBayes: 6/7] The package was approved in Fedora
by Mathieu Bridon
commit d7f3752c65cf5b49d0bb110ef2fd150b80791f39
Merge: 588798e 780b96d
Author: Mathieu Bridon <bochecha(a)fedoraproject.org>
Date: Wed Oct 3 12:14:24 2012 +0800
The package was approved in Fedora
perl-Algorithm-NaiveBayes.spec | 61 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 61 insertions(+), 0 deletions(-)
---
10 years, 5 months
[perl-Algorithm-NaiveBayes: 5/7] New version for review
by Mathieu Bridon
commit 780b96d341e6eee19875104cbb008b78e885be45
Author: Mathieu Bridon <bochecha(a)fedoraproject.org>
Date: Tue Sep 11 13:04:09 2012 +0800
New version for review
This package was submitted on Tue Sep 11 2012:
https://bugzilla.redhat.com/show_bug.cgi?id=849545#c4
perl-Algorithm-NaiveBayes.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/perl-Algorithm-NaiveBayes.spec b/perl-Algorithm-NaiveBayes.spec
index 32e6a10..0a0efe0 100644
--- a/perl-Algorithm-NaiveBayes.spec
+++ b/perl-Algorithm-NaiveBayes.spec
@@ -1,6 +1,6 @@
Name: perl-Algorithm-NaiveBayes
Version: 0.04
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Bayesian prediction of categories
# There is no license file included with the sources, I asked upstream for one:
10 years, 5 months
[perl-Algorithm-NaiveBayes: 4/7] Ask upstream to add a license file in their next release
by Mathieu Bridon
commit c49496ff70a172dcdf51b1159314c4759b6ef7dc
Author: Mathieu Bridon <bochecha(a)fedoraproject.org>
Date: Tue Sep 11 13:03:32 2012 +0800
Ask upstream to add a license file in their next release
perl-Algorithm-NaiveBayes.spec | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/perl-Algorithm-NaiveBayes.spec b/perl-Algorithm-NaiveBayes.spec
index 89345f0..32e6a10 100644
--- a/perl-Algorithm-NaiveBayes.spec
+++ b/perl-Algorithm-NaiveBayes.spec
@@ -3,6 +3,8 @@ Version: 0.04
Release: 1%{?dist}
Summary: Bayesian prediction of categories
+# There is no license file included with the sources, I asked upstream for one:
+# https://rt.cpan.org/Public/Bug/Display.html?id=79560
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Algorithm-NaiveBayes/
@@ -50,8 +52,10 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%changelog
* Tue Sep 11 2012 Mathieu Bridon <bochecha(a)fedoraproject.org> - 0.04-2
-- Fix issues based on Ralf's review feedback:
+- Fix issues based on Michael's and Ralf's review feedback:
- Properly own the installed directories
+ - Ask upstream to add a license file in their next release:
+ https://rt.cpan.org/Public/Bug/Display.html?id=79560
* Mon Aug 20 2012 Mathieu Bridon <bochecha(a)fedoraproject.org> 0.04-1
- Initial package, with help from cpanspec.
10 years, 5 months
[perl-Algorithm-NaiveBayes: 3/7] Properly own the installed directories
by Mathieu Bridon
commit e4f67af08e3747c7dbd3df22f7c205ceeb9ca2bb
Author: Mathieu Bridon <bochecha(a)fedoraproject.org>
Date: Tue Sep 11 12:53:47 2012 +0800
Properly own the installed directories
perl-Algorithm-NaiveBayes.spec | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/perl-Algorithm-NaiveBayes.spec b/perl-Algorithm-NaiveBayes.spec
index 1faff18..89345f0 100644
--- a/perl-Algorithm-NaiveBayes.spec
+++ b/perl-Algorithm-NaiveBayes.spec
@@ -45,9 +45,13 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%files
%doc Changes
%{_mandir}/man3/Algorithm::NaiveBayes.3pm*
-%{perl_vendorlib}/Algorithm/NaiveBayes*
+%{perl_vendorlib}/Algorithm
%changelog
+* Tue Sep 11 2012 Mathieu Bridon <bochecha(a)fedoraproject.org> - 0.04-2
+- Fix issues based on Ralf's review feedback:
+ - Properly own the installed directories
+
* Mon Aug 20 2012 Mathieu Bridon <bochecha(a)fedoraproject.org> 0.04-1
- Initial package, with help from cpanspec.
10 years, 5 months
[perl-Algorithm-NaiveBayes: 2/7] Initial package for Fedora
by Mathieu Bridon
commit d850307ee51dd5df325c2537d92f8f83487162af
Author: Mathieu Bridon <bochecha(a)fedoraproject.org>
Date: Mon Aug 20 15:32:45 2012 +0800
Initial package for Fedora
This package was submitted on Mon Aug 20 2012:
https://bugzilla.redhat.com/show_bug.cgi?id=849545#c0
perl-Algorithm-NaiveBayes.spec | 53 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/perl-Algorithm-NaiveBayes.spec b/perl-Algorithm-NaiveBayes.spec
new file mode 100644
index 0000000..1faff18
--- /dev/null
+++ b/perl-Algorithm-NaiveBayes.spec
@@ -0,0 +1,53 @@
+Name: perl-Algorithm-NaiveBayes
+Version: 0.04
+Release: 1%{?dist}
+Summary: Bayesian prediction of categories
+
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/Algorithm-NaiveBayes/
+
+Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Algorithm-NaiveBayes-%{vers...
+
+BuildArch: noarch
+
+BuildRequires: perl(Module::Build)
+
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module implements the classic "Naive Bayes" machine learning
+algorithm. It is a well-studied probabilistic algorithm often used in
+automatic text categorization. Compared to other algorithms (kNN, SVM,
+Decision Trees), it's pretty fast and reasonably competitive in the quality
+of its results.
+
+
+%prep
+%setup -q -n Algorithm-NaiveBayes-%{version}
+
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+
+%check
+./Build test
+
+
+%files
+%doc Changes
+%{_mandir}/man3/Algorithm::NaiveBayes.3pm*
+%{perl_vendorlib}/Algorithm/NaiveBayes*
+
+
+%changelog
+* Mon Aug 20 2012 Mathieu Bridon <bochecha(a)fedoraproject.org> 0.04-1
+- Initial package, with help from cpanspec.
10 years, 5 months
[perl-Algorithm-NaiveBayes: 1/7] Initial setup of the pre-review repo
by Mathieu Bridon
commit 3d516bfe75b3496c34689af45bfae81a6ef55b8d
Author: Mathieu Bridon <bochecha(a)fedoraproject.org>
Date: Mon Aug 20 15:20:29 2012 +0800
Initial setup of the pre-review repo
0 files changed, 0 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e69de29
diff --git a/sources b/sources
new file mode 100644
index 0000000..e69de29
10 years, 5 months
[perl-Algorithm-NaiveBayes] (7 commits) ...Upload the sources
by Mathieu Bridon
Summary of changes:
3d516bf... Initial setup of the pre-review repo
d850307... Initial package for Fedora
e4f67af... Properly own the installed directories
c49496f... Ask upstream to add a license file in their next release
780b96d... New version for review
d7f3752... The package was approved in Fedora
0381429... Upload the sources
10 years, 5 months