Explicitly using utf8 under install on el6 and el7 for python quirks
This commit is contained in:
parent
0e21e17167
commit
4e662060a9
12
varnish.spec
12
varnish.spec
@ -12,7 +12,7 @@
|
|||||||
Summary: High-performance HTTP accelerator
|
Summary: High-performance HTTP accelerator
|
||||||
Name: varnish
|
Name: varnish
|
||||||
Version: 6.0.1
|
Version: 6.0.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: https://www.varnish-cache.org/
|
URL: https://www.varnish-cache.org/
|
||||||
@ -27,7 +27,7 @@ Patch12: varnish-6.0.1_fix_bug2668.patch
|
|||||||
|
|
||||||
Obsoletes: varnish-libs
|
Obsoletes: varnish-libs
|
||||||
|
|
||||||
%if 0%{?rhel} == 6
|
%if 0%{?rhel} ==6 || 0%{?rhel} == 7
|
||||||
BuildRequires: python-sphinx python34-docutils
|
BuildRequires: python-sphinx python34-docutils
|
||||||
%else
|
%else
|
||||||
BuildRequires: python3-sphinx, python3-docutils
|
BuildRequires: python3-sphinx, python3-docutils
|
||||||
@ -204,8 +204,8 @@ make %{?_smp_mflags} check LD_LIBRARY_PATH="%{buildroot}%{_libdir}:%{buildroot}%
|
|||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
# el6 defaults to LANG=C, which makes python3 fail on utf8
|
# el6 and el7 defaults to LANG=C, which makes python3 fail on utf8
|
||||||
%if 0%{?rhel} == 6
|
%if 0%{?rhel} == 6 || 0%{?rhel} == 7
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -373,9 +373,11 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 09 2018 Ingvar Hagelund <ingvar@redpill-linpro.com> - 6.0.1-3
|
||||||
|
- Explicitly using utf8 under install on el6 and el7 for python quirks
|
||||||
|
|
||||||
* Tue Oct 09 2018 Ingvar Hagelund <ingvar@redpill-linpro.com> - 6.0.1-2
|
* Tue Oct 09 2018 Ingvar Hagelund <ingvar@redpill-linpro.com> - 6.0.1-2
|
||||||
- Explicitly using python3 on all targets
|
- Explicitly using python3 on all targets
|
||||||
- Explicitly using utf8 under install on el6 for python quirks
|
|
||||||
|
|
||||||
* Thu Sep 27 2018 Ingvar Hagelund <ingvar@redpill-linpro.com> - 6.0.1-1
|
* Thu Sep 27 2018 Ingvar Hagelund <ingvar@redpill-linpro.com> - 6.0.1-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
Loading…
Reference in New Issue
Block a user