[perl-Tk-ObjScanner] Spec cleanup

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

 



commit 4fa361ff38f74307e0a6b62630c6c284c714a586
Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx>
Date:   Sun Dec 9 12:12:26 2012 +0100

    Spec cleanup

 perl-Tk-ObjScanner.spec |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/perl-Tk-ObjScanner.spec b/perl-Tk-ObjScanner.spec
index e3966cc..2da7c12 100644
--- a/perl-Tk-ObjScanner.spec
+++ b/perl-Tk-ObjScanner.spec
@@ -1,12 +1,12 @@
 Name:           perl-Tk-ObjScanner
 Version:        2.012
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Tk data scanner
 License:        GPL+ or Artistic
-Group:          Development/Libraries
+
 URL:            http://search.cpan.org/dist/Tk-ObjScanner/
 Source0:        http://www.cpan.org/authors/id/D/DD/DDUMONT/Tk-ObjScanner-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Tk)
@@ -16,6 +16,8 @@ BuildRequires:  perl(Tk::ROText)
 BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 This perl module provides a GUI to scan the attributes of an object. It can
 also be used to scan the elements of a hash or an array.
@@ -28,8 +30,6 @@ also be used to scan the elements of a hash or an array.
 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 {} \;
@@ -41,16 +41,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 # Tk-ObjScanner's tests are X-based.
 # make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc ChangeLog README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Dec 09 2012 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 2.012-9
+- Add perl default filter
+- Remove no-longer-used macros
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.012-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_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