Description of problem: In at least three positions of nmap's changelog, macros are used in such a way that they are automatically expanded. This really mucks up the changelog and makes it unreadable in parts. Version-Release number of selected component (if applicable): nmap-3.20-1 and many many old versions How reproducible: alwaya Steps to Reproduce: 1. rpm -q --changelog nmap 2. 3. Actual results: a) - use CFLAGS="${CFLAGS:--O2 -g -pipe -march=i386 -mcpu=i686}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:--O2 -g -pipe -march=i386 -mcpu=i686}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:--O2 -g -pipe -march=i386 -mcpu=i686}" ; export FFLAGS ; for i in $(find . -name config.guess 2>/dev/null) $(find . -name config.sub 2>/dev/null) ; do [ -f /usr/share/libtool/$(basename $i) ] && /bin/rm -f $i && /bin/cp -fv /usr/share/libtool/$(basename $i) $i ; done ; ./configure --host=i386-redhat-linux --build=i386-redhat-linux \ --target=i386-redhat-linux-gnu \ --program-prefix= \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --sysconfdir=/etc \ --datadir=/usr/share \ --includedir=/usr/include \ --libdir=/usr/lib \ --libexecdir=/usr/libexec \ --localstatedir=/var \ --sharedstatedir=/usr/com \ --mandir=/usr/share/man \ --infodir=/usr/share/info, and /usr where possible b) - using defined %{prefix}, 3.20 etc. for easier/quicker maint. Expected results: a) - use %configure, and %{prefix} where possible b) - using defined %{prefix}, %{version} etc. for easier/quicker maint. Additional info: It was probably forgotten to escape these macros using the double percent "%%" to print the single percent: %configure -> %%configure and the likes BTW, do you really want to change changelogs retroactively, and then document this change in the changelog? ;-)))))
yes, I will document my change to the changelog :) thx for reporting!