From bddec3cb66a46a8c2125c9886c63eb9bae113f69e02930c886456308ab274bd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 30 Apr 2019 13:20:55 +0000 Subject: [PATCH] Accepting request 699679 from home:bmwiedemann:branches:devel:languages:python Drop test .pyc files from doc dir to make package build reproducible (boo#1047218) OBS-URL: https://build.opensuse.org/request/show/699679 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-irc?expand=0&rev=10 --- python-irc.changes | 6 ++++++ python-irc.spec | 1 + 2 files changed, 7 insertions(+) diff --git a/python-irc.changes b/python-irc.changes index 6ab513f..093cdd4 100644 --- a/python-irc.changes +++ b/python-irc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 30 09:17:40 UTC 2019 - Bernhard Wiedemann + +- Drop test .pyc files from doc dir to make package build reproducible + (boo#1047218) + ------------------------------------------------------------------- Fri Apr 5 11:22:52 UTC 2019 - Tomáš Chvátal diff --git a/python-irc.spec b/python-irc.spec index 04d9a9e..30c14b3 100644 --- a/python-irc.spec +++ b/python-irc.spec @@ -79,6 +79,7 @@ sed -i 's/--flake8//' pytest.ini %if 0%{?suse_version} > 1500 %check +export PYTHONDONTWRITEBYTECODE=1 %pytest %endif