[perl-WWW-Babelfish] Various cleanups
Emmanuel Seyman
eseyman at fedoraproject.org
Sun Dec 2 12:16:27 UTC 2012
commit 12cd2879167b5d2105d9b14a596ab9f78f2b2b46
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date: Sun Dec 2 13:16:20 2012 +0100
Various cleanups
perl-WWW-Babelfish.spec | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/perl-WWW-Babelfish.spec b/perl-WWW-Babelfish.spec
index 1e4a311..47a1547 100644
--- a/perl-WWW-Babelfish.spec
+++ b/perl-WWW-Babelfish.spec
@@ -1,12 +1,12 @@
Name: perl-WWW-Babelfish
Version: 0.16
-Release: 12%{?dist}
+Release: 13%{?dist}
Summary: Perl extension for translation via Babelfish or Google
License: GPL+ or Artistic
-Group: Development/Libraries
+
URL: http://search.cpan.org/dist/WWW-Babelfish/
Source0: http://www.cpan.org/authors/id/D/DU/DURIST/WWW-Babelfish-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
BuildArch: noarch
BuildRequires: perl(HTML::TokeParser)
BuildRequires: perl(HTTP::Request)
@@ -15,6 +15,8 @@ BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%{?perl_default_filter}
+
%description
Perl interface to the WWW babelfish translation server.
@@ -27,8 +29,6 @@ echo n | %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
@@ -39,16 +39,16 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%check
make test
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Sun Dec 02 2012 Emmanuel Seyman <emmanuel at seyman.fr> - 0.16-13
+- Add perl default filter
+- Remove no-longer-used-macros
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.16-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list