SHA256
1
0
forked from pool/rpmlint
rpmlint/fix-pyc-install.diff
OBS User autobuild 5e20a03ee9 Accepting request 30231 from Base:System
Copy from Base:System/rpmlint based on submit request 30231 from user lnussel

OBS-URL: https://build.opensuse.org/request/show/30231
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=50
2010-01-27 17:18:50 +00:00

12 lines
460 B
Diff

--- Makefile
+++ Makefile
@@ -40,7 +40,7 @@
install:
-mkdir -p $(DESTDIR)$(LIBDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(ETCDIR)/$(PACKAGE) $(DESTDIR)$(ETCDIR)/bash_completion.d $(DESTDIR)$(MANDIR)/man1
- cp -p *.py *.pyc *.pyo $(DESTDIR)$(LIBDIR)
+ cp -p *.py *.py[co] $(DESTDIR)$(LIBDIR)
sed -e 's/@VERSION@/$(VERSION)/' < rpmlint.py > $(DESTDIR)$(LIBDIR)/rpmlint.py
cp -p rpmlint rpmdiff $(DESTDIR)$(BINDIR)
cp -p config $(DESTDIR)$(ETCDIR)/$(PACKAGE)