Package: rpm
Version: 4.7.1-10
Severity: normal
Hi,
I'm trying to get an RPM build to work on Debian that works OK on a
RedHat system. The build process writes in the current working
directory
(/home/mph45/svn/pscsg/gridservices/FTS/tier1-fts-config/trunk) an
rpmconfig file:
macrofiles:
/usr/lib/rpm/macros:/usr/lib/rpm/%{_target}/macros:/etc/rpm/macros.specspo:/etc/rpm/macros.prelink:/etc/rpm/macros.solve:/etc/rpm/macros.up2date:/etc/rpm/macros:/etc/rpm/%{_target}/macros:/home/mph45/svn/pscsg/gridservices/FTS/tier1-fts-config/trunk/rpmmacros
and an rpmmacros file:
%_topdir
/home/mph45/svn/pscsg/gridservices/FTS/tier1-fts-config/trunk
%_sourcedir %{_topdir}/src
%_specdir %{_topdir}
%_srcrpmdir %{_topdir}/rpm
%_rpmdir %{_topdir}/rpm
It then runs rpmbuild like:
rpmbuild -ba \
--rcfile=/usr/lib/rpm/rpmrc:/home/mph45/svn/pscsg/gridservices/FTS/tier1-fts-config/trunk/rpmconfig
\
tier1-fts-config.spec
However, despite being listed in the rpmconfig the generated rpmmacros
file isn't read, and the build fails. If I copy this rpmmacros file to
~/.rpmmacros, the build process works fine.
Is macrofiles not supported?
Thanks,
Matt
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.25 (PREEMPT)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages rpm depends on:
ii debconf [debconf-2.0] 1.5.27 Debian configuration management sy
ii libc6 2.9-27 GNU C Library: Shared libraries
ii libelf1 0.143-1 library to read and write ELF file
ii libnss3-1d 3.12.4-1 Network Security Service libraries
ii libpopt0 1.15-1 lib for parsing cmdline parameters
ii librpm0 4.7.1-10 RPM shared library
ii librpmbuild0 4.7.0-9 RPM build shared library
ii librpmio0 4.7.1-10 RPM IO shared library
ii perl 5.10.1-5 Larry Wall's Practical Extraction
ii rpm-common 4.7.1-10 common files for RPM
ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime
Versions of packages rpm recommends:
ii rpm2cpio 4.7.1-10 tool to convert RPM package to CPI
Versions of packages rpm suggests:
ii alien 8.78 convert and install rpm and other
pn elfutils <none> (no description available)
pn rpm-i18n <none> (no description available)
-- debconf information:
rpm/upgrade-failed:
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]