Accepting request 644496 from home:alarrosa:branches:devel:languages:python:pytest

- Changed the value of the LANG env var when building the package
- Be more explicit in the package filelist

OBS-URL: https://build.opensuse.org/request/show/644496
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-translations?expand=0&rev=2
This commit is contained in:
Antonio Larrosa 2018-10-25 07:47:15 +00:00 committed by Git OBS Bridge
parent 416b1f26ec
commit c36385d8f7
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 25 07:40:33 UTC 2018 - Antonio Larrosa <alarrosa@suse.com>
- Changed the value of the LANG env var when building the package
- Be more explicit in the package filelist
-------------------------------------------------------------------
Thu Sep 20 11:05:55 UTC 2018 - Antonio Larrosa <alarrosa@suse.com> - 2.0.0

View File

@ -53,17 +53,17 @@ Test check for:
%setup -q -n pytest-translations-%{version}
%build
export LANG=en_US@utf-8
export LANG=en_US.UTF-8
%python_build
%install
export LANG=en_US@utf-8
export LANG=en_US.UTF-8
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
export LANG=en_US@utf-8
export LANG=en_US.UTF-8
export PYTHONPATH=$PWD
%python_exec %{_bindir}/py.test
%endif
@ -71,6 +71,7 @@ export PYTHONPATH=$PWD
%files %{python_files}
%doc AUTHORS ChangeLog README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/pytest_translations-%{version}-py%{py_ver}.egg-info/
%{python_sitelib}/pytest_translations
%changelog