summaryrefslogtreecommitdiffstats
path: root/meta/packages/yum/files/paths.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/yum/files/paths.patch')
-rw-r--r--meta/packages/yum/files/paths.patch40
1 files changed, 24 insertions, 16 deletions
diff --git a/meta/packages/yum/files/paths.patch b/meta/packages/yum/files/paths.patch
index ee5c999c4b..55e6a0a2ee 100644
--- a/meta/packages/yum/files/paths.patch
+++ b/meta/packages/yum/files/paths.patch
@@ -1,8 +1,14 @@
1Index: yum-3.2.18/Makefile 1---
2=================================================================== 2 Makefile | 18 +++++++++---------
3--- yum-3.2.18.orig/Makefile 2008-08-23 09:13:56.000000000 +0100 3 docs/Makefile | 12 ++++++------
4+++ yum-3.2.18/Makefile 2008-08-23 09:18:09.000000000 +0100 4 etc/Makefile | 20 ++++++++++----------
5@@ -18,19 +18,19 @@ 5 3 files changed, 25 insertions(+), 25 deletions(-)
6
7--- yum-3.2.18.orig/Makefile
8+++ yum-3.2.18/Makefile
9@@ -16,23 +16,23 @@ clean:
10
11 subdirs:
6 for d in $(SUBDIRS); do make PYTHON=$(PYTHON) -C $$d; [ $$? = 0 ] || exit 1 ; done 12 for d in $(SUBDIRS); do make PYTHON=$(PYTHON) -C $$d; [ $$? = 0 ] || exit 1 ; done
7 13
8 install: 14 install:
@@ -27,15 +33,17 @@ Index: yum-3.2.18/Makefile
27- mkdir -p $(DESTDIR)/var/cache/yum 33- mkdir -p $(DESTDIR)/var/cache/yum
28- mkdir -p $(DESTDIR)/var/lib/yum 34- mkdir -p $(DESTDIR)/var/lib/yum
29+ mkdir -p $(DESTDIR)$(localstatedir)/cache/yum 35+ mkdir -p $(DESTDIR)$(localstatedir)/cache/yum
30+ mkdir -p $(DESTDIR)$(localstatedir)/lib/yum 36+ mkdir -p $(DESTDIR)$(localstatedir)/lib/yum
31 37
32 for d in $(SUBDIRS); do make PYTHON=$(PYTHON) DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; [ $$? = 0 ] || exit 1; done 38 for d in $(SUBDIRS); do make PYTHON=$(PYTHON) DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; [ $$? = 0 ] || exit 1; done
33 39
34Index: yum-3.2.18/docs/Makefile 40 .PHONY: docs test
35=================================================================== 41
36--- yum-3.2.18.orig/docs/Makefile 2008-08-23 09:19:07.000000000 +0100 42--- yum-3.2.18.orig/docs/Makefile
37+++ yum-3.2.18/docs/Makefile 2008-08-23 09:19:37.000000000 +0100 43+++ yum-3.2.18/docs/Makefile
38@@ -6,9 +6,9 @@ 44@@ -4,11 +4,11 @@ all:
45 clean:
46 rm -f *.pyc *.pyo *~
39 rm -fr epydoc 47 rm -fr epydoc
40 48
41 install: 49 install:
@@ -51,11 +59,11 @@ Index: yum-3.2.18/docs/Makefile
51+ install -m 644 yum.conf.5 $(DESTDIR)$(mandir)/man5/yum.conf.5 59+ install -m 644 yum.conf.5 $(DESTDIR)$(mandir)/man5/yum.conf.5
52+ install -m 644 yum-updatesd.8 $(DESTDIR)$(mandir)/man8/yum-updatesd.8 60+ install -m 644 yum-updatesd.8 $(DESTDIR)$(mandir)/man8/yum-updatesd.8
53+ install -m 644 yum-updatesd.conf.5 $(DESTDIR)$(mandir)/man5/yum-updatesd.conf.5 61+ install -m 644 yum-updatesd.conf.5 $(DESTDIR)$(mandir)/man5/yum-updatesd.conf.5
54Index: yum-3.2.18/etc/Makefile 62--- yum-3.2.18.orig/etc/Makefile
55=================================================================== 63+++ yum-3.2.18/etc/Makefile
56--- yum-3.2.18.orig/etc/Makefile 2008-08-23 09:19:51.000000000 +0100 64@@ -3,22 +3,22 @@ all:
57+++ yum-3.2.18/etc/Makefile 2008-08-23 09:20:28.000000000 +0100 65
58@@ -5,20 +5,20 @@ 66 clean:
59 rm -f *.pyc *.pyo *~ 67 rm -f *.pyc *.pyo *~
60 68
61 install: 69 install: