[packages/python-send2trash: 2/2] remove non-linux platforms
glen
glen at pld-linux.org
Sun Apr 10 10:02:19 CEST 2016
commit 0638ad9dae7b09c58a33c7db1916deea81a75e64
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Apr 10 11:01:14 2016 +0300
remove non-linux platforms
python-send2trash.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/python-send2trash.spec b/python-send2trash.spec
index 890dc53..6510a90 100644
--- a/python-send2trash.spec
+++ b/python-send2trash.spec
@@ -54,6 +54,12 @@ freedesktop.org.
%prep
%setup -q -n Send2Trash-%{version}
+# remove non-linux platforms
+%ifos Linux
+%{__rm} send2trash/plat_osx.py
+%{__rm} send2trash/plat_win.py
+%endif
+
%build
%if %{with python2}
%py_build %{?with_tests:test}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-send2trash.git/commitdiff/0638ad9dae7b09c58a33c7db1916deea81a75e64
More information about the pld-cvs-commit
mailing list