[perl-Text-ExtractWords: 5/9] Tweak the Summary and %description
by Mathieu Bridon
commit 8130727b1f52e64403699eb416d05fcf7b82b0bd
Author: Mathieu Bridon <bochecha(a)fedoraproject.org>
Date: Tue Feb 5 11:38:16 2013 +0800
Tweak the Summary and %description
perl-Text-ExtractWords.spec | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/perl-Text-ExtractWords.spec b/perl-Text-ExtractWords.spec
index 3a0eb0f..8191748 100644
--- a/perl-Text-ExtractWords.spec
+++ b/perl-Text-ExtractWords.spec
@@ -1,5 +1,5 @@
Name: perl-Text-ExtractWords
-Summary: Perl extension for extract words from strings
+Summary: Perl extension to extract words from strings
Version: 0.08
Release: 1%{?dist}
License: GPL+ or Artistic
@@ -17,8 +17,7 @@ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
%description
-The aim of this module is to extract the words from the texts or mails to
-identify spam. But it can be used for another purpose.
+Extract words from texts or emails, for example to identify spam.
%prep
@@ -56,6 +55,7 @@ make test
%changelog
- Replace usage of the %%{_perl} macro by the plain perl command.
- Use DESTDIR instead of PERL_INSTALL_ROOT.
+- Tweak the Summary and %%description.
* Mon Feb 04 2013 Mathieu Bridon <bochecha(a)fedoraproject.org> - 0.08-1
- Initial package for Fedora, with help from cpanspec.
11 years, 4 months
[perl-Text-ExtractWords: 4/9] Use DESTDIR instead of PERL_INSTALL_ROOT
by Mathieu Bridon
commit 37eddc143d39b1022d9292c4c70d4187bd373861
Author: Mathieu Bridon <bochecha(a)fedoraproject.org>
Date: Tue Feb 5 11:37:34 2013 +0800
Use DESTDIR instead of PERL_INSTALL_ROOT
perl-Text-ExtractWords.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/perl-Text-ExtractWords.spec b/perl-Text-ExtractWords.spec
index 57364bf..3a0eb0f 100644
--- a/perl-Text-ExtractWords.spec
+++ b/perl-Text-ExtractWords.spec
@@ -34,7 +34,7 @@ make %{?_smp_mflags}
%install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
@@ -55,6 +55,7 @@ make test
%changelog
- Replace usage of the %%{_perl} macro by the plain perl command.
+- Use DESTDIR instead of PERL_INSTALL_ROOT.
* Mon Feb 04 2013 Mathieu Bridon <bochecha(a)fedoraproject.org> - 0.08-1
- Initial package for Fedora, with help from cpanspec.
11 years, 4 months
[perl-Text-ExtractWords: 3/9] Replace usage of the %{_perl} macro by the plain perl command
by Mathieu Bridon
commit 37d452bad980fe2f027f13e716cd7357125b19a6
Author: Mathieu Bridon <bochecha(a)fedoraproject.org>
Date: Tue Feb 5 11:37:15 2013 +0800
Replace usage of the %{_perl} macro by the plain perl command
perl-Text-ExtractWords.spec | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/perl-Text-ExtractWords.spec b/perl-Text-ExtractWords.spec
index 08b28d4..57364bf 100644
--- a/perl-Text-ExtractWords.spec
+++ b/perl-Text-ExtractWords.spec
@@ -12,7 +12,7 @@ BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(vars)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
@@ -29,7 +29,7 @@ chmod -x examples/*
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
@@ -54,5 +54,7 @@ make test
%changelog
+- Replace usage of the %%{_perl} macro by the plain perl command.
+
* Mon Feb 04 2013 Mathieu Bridon <bochecha(a)fedoraproject.org> - 0.08-1
- Initial package for Fedora, with help from cpanspec.
11 years, 4 months
[perl-Text-ExtractWords: 2/9] Initial package for Fedora
by Mathieu Bridon
commit a7678f2ba524b6b8bdfa837a20204a9a5fb98017
Author: Mathieu Bridon <bochecha(a)fedoraproject.org>
Date: Mon Feb 4 13:04:10 2013 +0800
Initial package for Fedora
This was submitted on Mon Feb 04 2013:
https://bugzilla.redhat.com/show_bug.cgi?id=907309#c0
perl-Text-ExtractWords.spec | 58 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/perl-Text-ExtractWords.spec b/perl-Text-ExtractWords.spec
new file mode 100644
index 0000000..08b28d4
--- /dev/null
+++ b/perl-Text-ExtractWords.spec
@@ -0,0 +1,58 @@
+Name: perl-Text-ExtractWords
+Summary: Perl extension for extract words from strings
+Version: 0.08
+Release: 1%{?dist}
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/Text-ExtractWords/
+Source0: http://www.cpan.org/authors/id/H/HD/HDIAS/Text-ExtractWords-%{version}.ta...
+
+BuildRequires: perl(AutoLoader)
+BuildRequires: perl(DynaLoader)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(vars)
+
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+The aim of this module is to extract the words from the texts or mails to
+identify spam. But it can be used for another purpose.
+
+
+%prep
+%setup -q -n Text-ExtractWords-%{version}
+
+# Remove executable bit on examples
+chmod -x examples/*
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
+
+
+%install
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
+
+%{_fixperms} %{buildroot}/*
+
+
+%check
+make test
+
+
+%files
+%doc Changes README examples
+%{perl_vendorarch}/auto/Text
+%{perl_vendorarch}/Text
+%{_mandir}/man3/Text::ExtractWords.3pm*
+
+
+%changelog
+* Mon Feb 04 2013 Mathieu Bridon <bochecha(a)fedoraproject.org> - 0.08-1
+- Initial package for Fedora, with help from cpanspec.
11 years, 4 months
[perl-Text-ExtractWords: 1/9] Initial setup of the pre-review repo
by Mathieu Bridon
commit 051d29b3d46365d5a68c7b9107053fdf072b7522
Author: Mathieu Bridon <bochecha(a)fedoraproject.org>
Date: Mon Feb 4 12:24:59 2013 +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
11 years, 4 months
[perl-Text-ExtractWords] (9 commits) ...Upload the sources
by Mathieu Bridon
Summary of changes:
051d29b... Initial setup of the pre-review repo
a7678f2... Initial package for Fedora
37d452b... Replace usage of the %{_perl} macro by the plain perl comma
37eddc1... Use DESTDIR instead of PERL_INSTALL_ROOT
8130727... Tweak the Summary and %description
dc44304... Drop unneeded BR on the 'vars' pragma
0e67ebf... New submission for Fedora
b0b7480... The package was approved in Fedora
38b9cb8... Upload the sources
11 years, 4 months
[perl-XML-SAX-Writer] Always use included Module::Install to avoid circular build deps (#906007)
by Paul Howarth
commit b220aa08f8f4d564f70d052ec9adb2d06c48bce3
Author: Paul Howarth <paul(a)city-fan.org>
Date: Tue Feb 5 16:19:19 2013 +0000
Always use included Module::Install to avoid circular build deps (#906007)
perl-XML-SAX-Writer.spec | 20 +++++++-------------
1 files changed, 7 insertions(+), 13 deletions(-)
---
diff --git a/perl-XML-SAX-Writer.spec b/perl-XML-SAX-Writer.spec
index abbf6b2..8a29600 100644
--- a/perl-XML-SAX-Writer.spec
+++ b/perl-XML-SAX-Writer.spec
@@ -1,6 +1,6 @@
Name: perl-XML-SAX-Writer
Version: 0.53
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: SAX2 Writer
License: GPL+ or Artistic
Group: Development/Libraries
@@ -8,12 +8,10 @@ URL: http://search.cpan.org/dist/XML-SAX-Writer/
Source0: http://www.cpan.org/modules/by-module/XML/XML-SAX-Writer-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl(inc::Module::Install)
+BuildRequires: perl(Cwd)
BuildRequires: perl(Encode) >= 2.12
-%if ! ( 0%{?rhel} )
-BuildRequires: perl(Module::Install::AutoManifest)
-BuildRequires: perl(Module::Install::Repository)
-%endif
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Path)
BuildRequires: perl(Test::More) >= 0.40
BuildRequires: perl(XML::Filter::BufferText) >= 1.00
BuildRequires: perl(XML::NamespaceSupport) >= 1.00
@@ -25,15 +23,8 @@ A new XML Writer to match the SAX2 effort.
%prep
%setup -q -n XML-SAX-Writer-%{version}
-rm -r inc
-sed -i -e '/^inc\// d' MANIFEST
find -type f -exec chmod -x {} +
-%if ( 0%{?rhel} )
-sed -i -e '/^auto_set_repository/ d' Makefile.PL
-sed -i -e '/^auto_manifest/ d' Makefile.PL
-%endif
-
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@@ -61,6 +52,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%changelog
+* Tue Feb 5 2013 Paul Howarth <paul(a)city-fan.org> - 0.53-3
+- Always use included Module::Install to avoid circular build deps (#906007)
+
* Fri Nov 23 2012 Jitka Plesnikova <jplesnik(a)redhat.com> - 0.53-2
- Drop BR perl(Module::Install::*) for RHEL
11 years, 4 months