From: Jakub Bogusz Date: Fri, 25 Oct 2019 18:29:39 +0000 (+0200) Subject: - don't package tests; release 2 X-Git-Tag: auto/th/python3-typed_ast-1.4.0-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython3-typed_ast.git;a=commitdiff_plain;h=19fa8e7;hp=6a0d703c936c46426100754d39eee23dd00cdb6e - don't package tests; release 2 --- 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