forked from pool/python-magic-wormhole
- Properly handle singlespec to allow py2 and py3 build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-magic-wormhole?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
d4a5fbafbc
commit
70159a679e
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 12 09:19:13 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Properly handle singlespec to allow py2 and py3 build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 12 09:08:16 UTC 2018 - tchvatal@suse.com
|
Mon Mar 12 09:08:16 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
|||||||
@@ -65,6 +65,8 @@ BuildRequires: %{python_module tqdm >= 4.13.0}
|
|||||||
BuildRequires: %{python_module txtorcon >= 0.19.3}
|
BuildRequires: %{python_module txtorcon >= 0.19.3}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides a library and a command-line tool named wormhole,
|
This package provides a library and a command-line tool named wormhole,
|
||||||
which makes it possible to get arbitrary-sized files and directories from
|
which makes it possible to get arbitrary-sized files and directories from
|
||||||
@@ -81,12 +83,16 @@ the code, which must then be typed into the receiving machine.
|
|||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
%python_clone %{buildroot}%{_bindir}/wormhole
|
||||||
|
%python_clone %{buildroot}%{_bindir}/wormhole-server
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc NEWS.md README.md
|
%doc NEWS.md README.md
|
||||||
%{_bindir}/wormhole
|
%{_bindir}/wormhole-%{python_bin_suffix}
|
||||||
%{_bindir}/wormhole-server
|
%{_bindir}/wormhole-server-%{python_bin_suffix}
|
||||||
|
%python3_only %{_bindir}/wormhole
|
||||||
|
%python3_only %{_bindir}/wormhole-server
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user