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 \