Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 88968 - %install as text in %changelog breaks any (re)builds
%install as text in %changelog breaks any (re)builds
Product: Red Hat Linux
Classification: Retired
Component: rpm-build (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 2003-04-15 16:11 EDT by Doncho N. Gunchev
Modified: 2007-04-18 12:53 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-04-15 16:22:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
"working" .spec file. (7.07 KB, text/plain)
2003-04-15 16:16 EDT, Doncho N. Gunchev
no flags Details

  None (edit)
Description Doncho N. Gunchev 2003-04-15 16:11:15 EDT
Description of problem: 
  The presence of "%install" ("% install" does not break things) in %changelog in rpm .spec file 
leads to the following error: "error: Package already exists: %package debuginfo" 
Version-Release number of selected component (if applicable): 
  RPM version 4.2 
How reproducible: 
  download http://prdownloads.sourceforge.net/poptop/pptpd-1.1.4-b3.tar.gz?download, fix the 
%{rel} to b3, not 1b3 or the source of the .tar.gz file and try to rebuild for --target 
  While I'm here, why in '/usr/lib/rpm/rpmrc' I see "optflags: i386 -O2 -g -march=i386 
-mcpu=i686"? How am I expected to rebuild packages for i386 CPU? 
Steps to Reproduce: 
1. rpmbuild -vvv -ba --with buildipalloc --target i386-redhat-linux pptpd.spec 
Actual results: 
  error: Package already exists: %package debuginfo 
Expected results: 
  normal package rebuild
Comment 1 Doncho N. Gunchev 2003-04-15 16:16:33 EDT
Created attachment 91146 [details]
"working" .spec file.

This is my "working" .spec file, scroll down to " - fixed % install section so
that it uses buildroot" and remove the space between "%" and "install" to
represent the bug
Comment 2 Jeff Johnson 2003-04-15 16:22:54 EDT
Yup. Escape the '%, as in use '%%install', not '%install'.

Note You need to log in before you can comment on or make changes to this bug.