15
0

Accepting request 635538 from devel:languages:python

- Do not distribute generic examples folder

OBS-URL: https://build.opensuse.org/request/show/635538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-amqpstorm?expand=0&rev=3
This commit is contained in:
2018-09-13 22:03:02 +00:00
committed by Git OBS Bridge
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 13 13:30:19 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- Do not distribute generic examples folder
-------------------------------------------------------------------
Mon Sep 10 06:56:40 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -56,14 +56,15 @@ export LANG="en_US.UTF8"
export LANG="en_US.UTF8"
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}/amqpstorm
%python_expand %fdupes %{buildroot}%{$python_sitelib}/examples
# remove generic named examples from sitelib
%python_expand rm -rf %{buildroot}%{$python_sitelib}/examples
%check
%python_expand nosetests-%{$python_bin_suffix} amqpstorm/tests/unit
%files %{python_files}
%license LICENSE
%doc README.rst
%doc README.rst examples
%{python_sitelib}/*
%changelog