- don't package tests; release 2 auto/th/python3-typed_ast-1.4.0-2
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 25 Oct 2019 18:29:39 +0000 (20:29 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 25 Oct 2019 18:29:39 +0000 (20:29 +0200)
python3-typed_ast.spec

index 310d0b1516dcbdbbcf975f91503ee0f6763017d7..083c6124b08c3bed1a82bb49c0048b8dee5f7b31 100644 (file)
@@ -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
This page took 0.061617 seconds and 4 git commands to generate.