[perl-Unicode-Map] Various cleanups

Emmanuel Seyman eseyman at fedoraproject.org
Sun Dec 2 10:22:09 UTC 2012


commit 1386366dc26a68e89612878410d279063b3e131e
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Sun Dec 2 11:22:03 2012 +0100

    Various cleanups

 perl-Unicode-Map.spec |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/perl-Unicode-Map.spec b/perl-Unicode-Map.spec
index fe0675b..49a7cbc 100644
--- a/perl-Unicode-Map.spec
+++ b/perl-Unicode-Map.spec
@@ -2,19 +2,19 @@
 
 Name:           perl-Unicode-Map
 Version:        0.112
-Release:        25%{?dist}
+Release:        26%{?dist}
 
 Summary:        Perl module for mapping charsets from and to utf16 unicode
 
-Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Unicode-Map/
 Source0:        http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/Unicode-Map-0.112.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  perl(ExtUtils::MakeMaker) 
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 This module converts strings from and to 2-byte Unicode UCS2
 format. All mappings happen via 2 byte UTF16 encodings, not via 1 byte
@@ -48,7 +48,6 @@ make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install \
   PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
   INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
@@ -62,12 +61,7 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc COPYING Changes README
 %{_bindir}/m*
 %{perl_vendorarch}/auto/Unicode
@@ -76,6 +70,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Dec 02 2012 Emmanuel Seyman <emmanuel at seyman.fr> - 0.112-26
+- Add perl default filter
+- Remove no-longer-used macros
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.112-25
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list