[Bug 599634] New: rpmbuild fails when angular brackets '<>' appear in spec-file strings
http://bugzilla.novell.com/show_bug.cgi?id=599634 http://bugzilla.novell.com/show_bug.cgi?id=599634#c0 Summary: rpmbuild fails when angular brackets '<>' appear in spec-file strings Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jw@novell.com QAContact: qa@suse.de CC: mls@novell.com Found By: --- Blocker: --- example spec file: .. Name: kdegraphics4 License: GPLv2+ Group: Productivity/Graphics/Other Summary: kdegraphics base package Url: http://www.kde.org Version: 4.3.5 Release: 0.<RELEASE1> Source0: kdegraphics-%version.tar.bz2 .. The install section shell script contains this: .. RPM_PACKAGE_NAME="kdegraphics4" RPM_PACKAGE_VERSION="4.3.5" RPM_PACKAGE_RELEASE="0.<RELEASE1>" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE RPM_BUILD_ROOT="/usr/src/packages/BUILDROOT/kdegraphics4-4.3.5-0.<RELEASE1>.x86_64" export RPM_BUILD_ROOT set -x umask 022 cd "/usr/src/packages/BUILD" cd 'kdegraphics-4.3.5' cd build make DESTDIR=/usr/src/packages/BUILDROOT/kdegraphics4-4.3.5-0.<RELEASE1>.x86_64 install ... This (obviously) fails with + make DESTDIR=/usr/src/packages/BUILDROOT/kdegraphics4-4.3.5-0. install /var/tmp/rpm-tmp.6PBpec: line 24: RELEASE1: No such file or directory Just to be safe, the string should be quoted in the make command ... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=599634 http://bugzilla.novell.com/show_bug.cgi?id=599634#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |mls@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=599634 https://bugzilla.novell.com/show_bug.cgi?id=599634#c Juergen Weigert <jw@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |743547 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=599634 https://bugzilla.novell.com/show_bug.cgi?id=599634#c1 Michael Schröder <mls@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |WONTFIX --- Comment #1 from Michael Schröder <mls@suse.com> 2012-01-26 09:55:10 UTC --- As there's now a workaround in quilt I'm closing this for now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com