[packages/python3-typed_ast] - don't package tests; release 2
qboosh
qboosh at pld-linux.org
Fri Oct 25 20:26:07 CEST 2019
commit 19fa8e70c937d03bf541c5484efd016d22f7a4c1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Oct 25 20:29:39 2019 +0200
- don't package tests; release 2
python3-typed_ast.spec | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/python3-typed_ast.spec b/python3-typed_ast.spec
index 310d0b1..083c612 100644
--- a/python3-typed_ast.spec
+++ b/python3-typed_ast.spec
@@ -6,7 +6,7 @@ Summary: Python 2 and 3 ast modules with type comment support
Summary(pl.UTF-8): Moduły ast z Pythona 2 i 3 z obsługą komentarzy o typach
Name: python3-typed_ast
Version: 1.4.0
-Release: 1
+Release: 2
License: Apache v2.0
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/typed-ast/
@@ -61,11 +61,16 @@ rm -rf $RPM_BUILD_ROOT
%py3_install
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/typed_ast/tests
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc LICENSE README.md
-%{py3_sitedir}/typed_ast
+%dir %{py3_sitedir}/typed_ast
+%attr(755,root,root) %{py3_sitedir}/typed_ast/_ast*.cpython-*.so
+%{py3_sitedir}/typed_ast/*.py
+%{py3_sitedir}/typed_ast/__pycache__
%{py3_sitedir}/typed_ast-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-typed_ast.git/commitdiff/19fa8e70c937d03bf541c5484efd016d22f7a4c1
More information about the pld-cvs-commit
mailing list