EPM STR #23

Status:4 - Pending
Priority:4 - High, e.g. key functionality not working
Scope:2 - Specific to an operating system
Subsystem:RPM Support
Summary:RPM building does not work in RPM 4.6...
Version:-current
Created By:mike
Assigned To:mike
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails


Trouble Report Files:

Post File

No files


Trouble Report Dialog:

Post Text


Name/Time/DateText
mike
20:26 Jan 17, 2010
Andre Truter reports problems with the latest RPM:

It seems that the problem is that in rpm 4.6.0, the BuildRoot directive in the spec file was dropped.

http://www.rpm.org/wiki/Releases/4.6.0

--<snip>--
Rpm now enforces using a build root for all packages. The exact location and naming of package buildroots is an internal implementation detail that should have never been exposed to spec files, but to permit sharing of spec files with older versions of rpm, BuildRoot in spec files is silently ignored. By default rpmbuild now places the buildroot inside %{_topdir} but this can be changed through macro configuration.
--<snip>--

I can build packages by issueing the rpmbuild command manually after epm ran and adding the --buildroot option to the rpmbuild command that epm use.