Add BR: gcc. Clean up spec.

This commit is contained in:
Xavier Bachelot 2018-02-26 15:05:10 +01:00
parent 50941c59da
commit c6ea5f406e

View File

@ -1,11 +1,11 @@
Name: perl-Encode-EUCJPASCII Name: perl-Encode-EUCJPASCII
Version: 0.03 Version: 0.03
Release: 21%{?dist} Release: 22%{?dist}
Summary: EucJP-ascii - An eucJP-open mapping Summary: EucJP-ascii - An eucJP-open mapping
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Encode-EUCJPASCII/ URL: http://search.cpan.org/dist/Encode-EUCJPASCII/
Source0: http://www.cpan.org/modules/by-module/Encode/Encode-EUCJPASCII-%{version}.tar.gz Source0: http://www.cpan.org/modules/by-module/Encode/Encode-EUCJPASCII-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod)
@ -37,7 +37,6 @@ derivative.
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT
make pure_install DESTDIR=$RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
@ -48,12 +47,15 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
make test make test
%files %files
%defattr(-,root,root,-)
%doc Changes README %doc Changes README
%{perl_vendorarch}/* %{perl_vendorarch}/*
%exclude %dir %{perl_vendorarch}/auto/ %exclude %dir %{perl_vendorarch}/auto/
%changelog %changelog
* Thu Apr 28 2016 Xavier Bachelot <xavier@bachelot.org> 0.03-22
- Add BR: gcc.
- Clean up spec.
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-21 * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild