Description of problem: The package openoffice.org-2.0.4-5.5.22.src.rpm isn't rebuild with option i686. Version-Release number of selected component (if applicable): 2.0.4-5.5.22 How reproducible: Rebuildig package Steps to Reproduce: #rpmbuild --rebuild --target i686 openoffice.org-2.0.4-5.5.22.src.rpm .... Building target platforms: -i686 Building for target -i686 error: Architecture is not included Actual results: Not compiled Expected results: Compiled with architecture i686 Additional info: Nothing
Works fine for me. "Building for target i686". Perhaps something has been customized that conflicts with the "ExclusiveArch: %{ix86}" use in the .spec, you could give a go on changing that to "ExclusiveArch: i386 i686"
OK! Now the package is compiling. Why this variable not work correctly?
Don't know what it doesn't work for you, but it does for me. Perhaps a customized set of rpm macros or something has lost the ix86 macro, i.e. it should be > cat /usr/lib/rpm/macros | grep ix86 %ix86 i386 i486 i586 i686 pentium3 pentium4 athlon > rpm -qf /usr/lib/rpm/macros rpm-4.4.2-32 on my FC-6 box