It is not so important, but in the previous patch if ID is empty RPMCANON.. is not set, now it is set to the empty string instead. Sure it is unlikely this can happen.
Best regards ----Messaggio originale---- Da: Jeff Johnson Inviato: 26/08/2013, 23:42 A: rpm-...@rpm5.org Oggetto: [CVS] RPM: rpm-5_4: rpm/ configure.ac RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________ Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: j...@rpm5.org Module: rpm Date: 26-Aug-2013 23:42:02 Branch: rpm-5_4 Handle: 2013082621420100 Modified files: (Branch: rpm-5_4) rpm configure.ac Log: - fix: set ID when reading /etc/os-release. Summary: Revision Changes Path 2.472.2.89 +1 -1 rpm/configure.ac ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/configure.ac ============================================================================ $ cvs diff -u -r2.472.2.88 -r2.472.2.89 configure.ac --- rpm/configure.ac 19 Aug 2013 17:50:01 -0000 2.472.2.88 +++ rpm/configure.ac 26 Aug 2013 21:42:01 -0000 2.472.2.89 @@ -2174,7 +2174,7 @@ test -f /usr/bin/crux && RPMCANONVENDOR=crux test -f /etc/ark-release && RPMCANONVENDOR=ark test -f /etc/openmamba-release && RPMCANONVENDOR=openmamba - test -r /etc/os-release &&. /etc/os-release && [ -n "$ID" ] && RPMCANONVENDOR="$ID" + test -r /etc/os-release && ID=$(. /etc/os-release && [ -n "$ID" ] && echo "$ID") && RPMCANONVENDOR="$ID" ;; esac RPMCANONOS="$target_os_noversion" @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-...@rpm5.org ______________________________________________________________________ RPM Package Manager http://rpm5.org Developer Communication List rpm-devel@rpm5.org