forked from pool/rpmlint
15 lines
641 B
Diff
15 lines
641 B
Diff
|
diff -u rpmlint-rpmlint-1.8.orig/Makefile rpmlint-rpmlint-1.8/Makefile
|
||
|
--- rpmlint-rpmlint-1.8.orig/Makefile 2016-05-03 18:21:47.823504438 +0200
|
||
|
+++ rpmlint-rpmlint-1.8/Makefile 2016-05-03 18:25:11.746636047 +0200
|
||
|
@@ -39,9 +39,7 @@
|
||
|
$(DESTDIR)$(LIBDIR)/[A-Z]*.py \
|
||
|
$(DESTDIR)$(LIBDIR)/__*__.py ; \
|
||
|
fi
|
||
|
- $(PYTHON) -O -m py_compile \
|
||
|
- $(DESTDIR)$(LIBDIR)/[A-Z]*.py \
|
||
|
- $(DESTDIR)$(LIBDIR)/__*__.py ; \
|
||
|
+ $(PYTHON) -O -m compileall -d $(LIBDIR) $(DESTDIR)$(LIBDIR)
|
||
|
for file in rpmlint rpmdiff ; do \
|
||
|
sed -e "s,#!/usr/bin/python ,#!$(PYTHON) ," $$file > $(DESTDIR)$(BINDIR)/$$file ; \
|
||
|
chmod +x $(DESTDIR)$(BINDIR)/$$file ; \
|