From 2b31e73c7abee0afe1a1783a1e9fe9cec2080346f36cc589ca8393209d950c7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 19 Sep 2018 09:24:14 +0000 Subject: [PATCH] fix Mageia OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=209 --- obs-service-tar_scm.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obs-service-tar_scm.spec b/obs-service-tar_scm.spec index 3f6e8b3..f54c39d 100644 --- a/obs-service-tar_scm.spec +++ b/obs-service-tar_scm.spec @@ -35,7 +35,7 @@ BuildRequires: bzr BuildRequires: git-core BuildRequires: mercurial BuildRequires: subversion -%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} +%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?mageia} %define py_compile(O) \ find %1 -name '*.pyc' -exec rm -f {} \\; \ python -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 \