Dirk Mueller
f5beb6b31a
Pyo files contained full source path including $DESTDIR, i.e. %{buildroot} Triggered rebuild, all files are now identical OBS-URL: https://build.opensuse.org/request/show/393463 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=384
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 ; \
|