Package: rpm Version: 4.7.0-9 Severity: important Tags: patch In documentation is stated that the macros file is placed at /etc/rpm/macros but due a missing configure flag (--sysconfdir) the built binaries look at /usr/etc/rpm/macros
Setting sysconfdir to /etc when configuring should be enough to fix this. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores) Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages rpm depends on: ii debconf [debconf-2.0] 1.5.27 Debian configuration management sy ii libc6 2.9-26 GNU C Library: Shared libraries ii libelf1 0.142-1 library to read and write ELF file ii libnss3-1d 3.12.3.1-1 Network Security Service libraries ii libpopt0 1.14-4 lib for parsing cmdline parameters ii librpm0 4.7.0-9 RPM shared library ii librpmbuild0 4.7.0-9 RPM build shared library ii librpmio0 4.7.0-9 RPM IO shared library ii perl 5.10.0-25 Larry Wall's Practical Extraction ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime rpm recommends no packages. Versions of packages rpm suggests: pn alien <none> (no description available) pn elfutils <none> (no description available) ii rpm-i18n 4.7.0-9 localization and localized man pag -- debconf information excluded
--- debian/rules 2009-09-08 16:08:31.000000000 +0200 +++ debian/rules 2009-09-08 16:08:42.000000000 +0200 @@ -25,6 +25,7 @@ configure_flags += \ --prefix=/usr \ --mandir=/usr/share/man \ + --sysconfdir=/etc \ --with-external-db \ --without-lua \ --with-debian \