[packages/systemd/systemd-219] python3 bcond fix

jajcus jajcus at pld-linux.org
Thu Jul 2 15:44:27 CEST 2015


commit 9cbb94ca41c54dfcb0419875da61c7ca789ec597
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Thu Jul 2 15:44:04 2015 +0200

    python3 bcond fix

 systemd.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/systemd.spec b/systemd.spec
index 92178ba..455c90d 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -1875,6 +1875,7 @@ fi
 %attr(755,root,root) %{py_sitedir}/systemd/id128.so
 %attr(755,root,root) %{py_sitedir}/systemd/login.so
 
+%if %{with python3}
 %files -n python3-systemd
 %defattr(644,root,root,755)
 %dir %{py3_sitedir}/systemd
@@ -1886,6 +1887,7 @@ fi
 %attr(755,root,root) %{py3_sitedir}/systemd/_reader.so
 %attr(755,root,root) %{py3_sitedir}/systemd/id128.so
 %attr(755,root,root) %{py3_sitedir}/systemd/login.so
+%endif
 
 %files -n bash-completion-systemd
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/9cbb94ca41c54dfcb0419875da61c7ca789ec597



More information about the pld-cvs-commit mailing list