[perl-Lingua-Preferred] minor clean-up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit bc767b9dbc8959ff3622756680b51aafab1fa4df
Author: Emmanuel Seyman <emmanuel@xxxxxxxxx>
Date:   Sun Sep 8 10:05:12 2013 +0200

    minor clean-up

 perl-Lingua-Preferred.spec |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/perl-Lingua-Preferred.spec b/perl-Lingua-Preferred.spec
index f8cb78e..6af14e3 100644
--- a/perl-Lingua-Preferred.spec
+++ b/perl-Lingua-Preferred.spec
@@ -1,13 +1,11 @@
 Name:           perl-Lingua-Preferred
 Version:        0.2.4
-Release:        16%{?dist}
+Release:        17%{?dist}
 Summary:        Perl extension to choose a language
 
-Group:          Development/Libraries
 License:        GPLv2+ or Artistic
 URL:            http://search.cpan.org/dist/Lingua-Preferred/
 Source0:        http://search.cpan.org/CPAN/authors/id/E/ED/EDAVIS/Lingua-Preferred-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 # Correct for lots of packages, other common choices include eg. Module::Build
@@ -18,6 +16,8 @@ BuildRequires:  perl(Exporter)
 BuildRequires:  perl(Data::Dumper)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 Many web browsers let you specify which languages you understand.
 Then they negotiate with the web server to get documents in the best
@@ -34,7 +34,6 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 
@@ -43,12 +42,7 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc Changes
 %{perl_vendorlib}/Lingua
 %{perl_vendorlib}/auto/Lingua
@@ -56,6 +50,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Sep 08 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.2.4-17
+- Remove no-longer-needed macros
+- Add perl default filter
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.2.4-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux