Various cleanups

epel9
Emmanuel Seyman 12 years ago
parent 0854d77271
commit 1386366dc2

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

Loading…
Cancel
Save