dpkg backported from centos7 to obtain compatibility
[packages/centos6/dpkg.git] / dpkg-perl-libexecdir.patch
diff --git a/dpkg-perl-libexecdir.patch b/dpkg-perl-libexecdir.patch
new file mode 100644 (file)
index 0000000..8a8fbff
--- /dev/null
@@ -0,0 +1,21 @@
+diff -up ./scripts/Makefile.am.orig ./scripts/Makefile.am
+--- ./scripts/Makefile.am.orig 2013-05-17 02:17:58.619324599 -0400
++++ ./scripts/Makefile.am      2013-05-17 02:18:35.256329078 -0400
+@@ -21,7 +21,7 @@ bin_SCRIPTS = \
+       dpkg-source \
+       dpkg-vendor
+-changelogdir = $(pkglibdir)/parsechangelog
++changelogdir = $(pkglibexecdir)/parsechangelog
+ changelog_SCRIPTS = \
+       changelog/debian
+@@ -115,7 +115,7 @@ man3_MANS =
+ do_perl_subst = $(AM_V_GEN) \
+               sed -e "s:^\#![[:space:]]*/usr/bin/perl:\#!$(PERL):" \
+-                  -e "s:\$$dpkglibdir[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$dpkglibdir=\"$(pkglibdir)\":" \
++                  -e "s:\$$dpkglibdir[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$dpkglibdir=\"$(pkglibexecdir)\":" \
+                   -e "s:\$$pkgdatadir[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$pkgdatadir=\"$(pkgdatadir)\":" \
+                   -e "s:\$$admindir[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$admindir=\"$(admindir)\":" \
+                   -e "s:\$$version[[:space:]]*=[[:space:]]*['\"][^'\"]*[\"']:\$$version=\"$(PACKAGE_VERSION)\":"