summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarian Csontos <mcsontos@redhat.com>2016-02-22 18:14:23 +0100
committerMarian Csontos <mcsontos@redhat.com>2016-02-22 18:16:41 +0100
commitec81c421793e63373cf6e119fe4bfd60368ee47d (patch)
treecfb8c39098686828d22afea330b8ca02540f5c63
parent367fb85e44e0718a335c328ca75cb646539d3148 (diff)
downloadlvm2-ec81c421793e63373cf6e119fe4bfd60368ee47d.tar.gz
lvmdbusd: Fix make install for python >= 3.5
python 3.5 renamed .pyo files to .opt-1.pyc.
-rw-r--r--daemons/lvmdbusd/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/lvmdbusd/Makefile.in b/daemons/lvmdbusd/Makefile.in
index 658fcd896..9ee5b0b7b 100644
--- a/daemons/lvmdbusd/Makefile.in
+++ b/daemons/lvmdbusd/Makefile.in
@@ -57,7 +57,7 @@ install_lvmdbusd:
$(INSTALL_DATA) $(LVMDBUS_BUILDDIR_FILES) $(DESTDIR)$(lvmdbusdir)
PYTHON=$(PYTHON3) $(PYCOMPILE) --destdir "$(DESTDIR)" --basedir "$(lvmdbusdir)" $(LVMDBUS_SRCDIR_FILES) $(LVMDBUS_BUILDDIR_FILES)
$(CHMOD) 755 $(DESTDIR)$(lvmdbusdir)/__pycache__
- $(CHMOD) 444 $(DESTDIR)$(lvmdbusdir)/__pycache__/*.pyc $(DESTDIR)$(lvmdbusdir)/__pycache__/*.pyo
+ $(CHMOD) 444 $(DESTDIR)$(lvmdbusdir)/__pycache__/*.py[co]
install_lvm2: install_lvmdbusd