2017.004
This commit is contained in:
parent
0affbf0b14
commit
8d022dc0f6
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@
|
||||
/Unicode-LineBreak-2015.07.16.tar.gz
|
||||
/Unicode-LineBreak-2015.12.tar.gz
|
||||
/Unicode-LineBreak-2016.003.tar.gz
|
||||
/Unicode-LineBreak-2017.004.tar.gz
|
||||
|
@ -1,15 +1,13 @@
|
||||
Name: perl-Unicode-LineBreak
|
||||
Version: 2016.003
|
||||
Release: 3%{?dist}
|
||||
Version: 2017.004
|
||||
Release: 1%{?dist}
|
||||
Summary: UAX #14 Unicode Line Breaking Algorithm
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Unicode-LineBreak/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/N/NE/NEZUMI/Unicode-LineBreak-%{version}.tar.gz
|
||||
# libthai is not available (yet) on EL5 and earlier.
|
||||
%if 0%{?rhel} > 5 || 0%{?fedora}
|
||||
|
||||
BuildRequires: libthai-devel
|
||||
%endif
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
@ -76,24 +74,6 @@ rm -rf sombok
|
||||
sed -i -e '/^sombok/d' MANIFEST
|
||||
|
||||
|
||||
%if 0%{?rhel} == 5
|
||||
cat << \EOF > %{name}-prov
|
||||
#!/bin/sh
|
||||
%{__perl_provides} $* |\
|
||||
sed -e '/^perl(Unicode::LineBreak)$/d'
|
||||
EOF
|
||||
%define __perl_provides %{_builddir}/Unicode-LineBreak-%{version}/%{name}-prov
|
||||
chmod +x %{__perl_provides}
|
||||
cat << \EOF > %{name}-req
|
||||
#!/bin/sh
|
||||
%{__perl_requires} $* |\
|
||||
sed -e '/^perl(Unicode::LineBreak::Constants)$/d'
|
||||
EOF
|
||||
%define __perl_requires %{_builddir}/Unicode-LineBreak-%{version}/%{name}-req
|
||||
chmod +x %{__perl_requires}
|
||||
%endif
|
||||
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
@ -131,6 +111,10 @@ make test
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Apr 14 2017 Xavier Bachelot <xavier@bachelot.org> 2017.004-1
|
||||
- Update to 2017.004.
|
||||
- Drop EL5 support.
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2016.003-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user