summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/rpm/fix_for_automake_1.11.2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/fix_for_automake_1.11.2.patch')
-rw-r--r--meta/recipes-devtools/rpm/rpm/fix_for_automake_1.11.2.patch54
1 files changed, 0 insertions, 54 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/fix_for_automake_1.11.2.patch b/meta/recipes-devtools/rpm/rpm/fix_for_automake_1.11.2.patch
deleted file mode 100644
index bb0f7eb835..0000000000
--- a/meta/recipes-devtools/rpm/rpm/fix_for_automake_1.11.2.patch
+++ /dev/null
@@ -1,54 +0,0 @@
1Upstream-Status: Pending
2
3automake version 1.11.2 has made use of dir variables more strict.
4the use of pkglibdir with SCRIPTS & DATA vars results in automake
5errors.
6 This commits uses pkgdatadir & pkgbindir vars instead of pkglibdir
7to avoid the strict check errors.
8
9 This change also works with automake-1.11.1
10
11Errors fixed:
12Makefile.am:103: error: `pkglibdir' is not a legitimate directory for `DATA'
13scripts/Makefile.am:47: error: `pkglibdir' is not a legitimate directory for `SCRIPTS'
14
15Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
162011/12/27
17
18Index: rpm-5.4.0/Makefile.am
19===================================================================
20--- rpm-5.4.0.orig/Makefile.am
21+++ rpm-5.4.0/Makefile.am
22@@ -103,13 +103,13 @@ if WITH_PATH_VERSIONED
23 done
24 endif
25
26-pkglibdir = @USRLIBRPM@
27-pkglib_DATA = rpmpopt macros/macros macros/macros.rpmbuild cpuinfo.yaml
28+pkgdatadir = @USRLIBRPM@
29+pkgdata_DATA = rpmpopt macros/macros macros/macros.rpmbuild cpuinfo.yaml
30
31-pkgbindir = $(pkglibdir)/bin
32+pkgbindir = $(pkgdatadir)/bin
33 pkgbin_SCRIPTS = install-sh mkinstalldirs
34
35-pkgcfgdir = $(pkglibdir)/macros.d
36+pkgcfgdir = $(pkgdatadir)/macros.d
37 pkgcfg_DATA = \
38 macros/cmake macros/java macros/libtool macros/mandriva macros/mono \
39 macros/perl macros/pkgconfig macros/php macros/python macros/ruby \
40Index: rpm-5.4.0/scripts/Makefile.am
41===================================================================
42--- rpm-5.4.0.orig/scripts/Makefile.am
43+++ rpm-5.4.0/scripts/Makefile.am
44@@ -45,8 +45,8 @@ all:
45
46 bin_SCRIPTS = gendiff
47
48-pkglibdir = @USRLIBRPM@
49-pkglib_SCRIPTS = \
50+pkgbindir = @USRLIBRPM@
51+pkgbin_SCRIPTS = \
52 brp-compress brp-python-bytecompile brp-java-gcjcompile \
53 brp-strip brp-strip-comment-note brp-nobuildrootpath \
54 brp-strip-shared brp-strip-static-archive brp-sparc64-linux \