Bug 7604

Summary: user build fixes to gmp spec file
Product: [Retired] Red Hat Linux Reporter: irwin
Component: gmpAssignee: Michael K. Johnson <johnsonm>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-12-06 21:31:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description irwin 1999-12-05 19:12:02 UTC
(1) owner and group permissions on install command not allowed for user

(2) use %defattr(-,root,root) appropriately

Patch file that fixes the problems follows (with long lines munged by form;
I cannot get the attach option to work).

 diff -Naur gmp.spec_original gmp.spec
--- gmp.spec_original   Mon Sep  6 06:06:56 1999
+++ gmp.spec    Sat Dec  4 17:27:27 1999
@@ -54,7 +54,7 @@

 make CFLAGS="${RPM_OPT_FLAGS}" prefix=${RPM_BUILD_ROOT}/usr install
 gzip -9nf ${RPM_BUILD_ROOT}/usr/info/gmp.info*
-install -m 644 -o root -g root mpn/gmp-mparam.h
+install -m 644 mpn/gmp-mparam.h ${RPM_BUILD_ROOT}/usr/include/

 %post -p /sbin/ldconfig

@@ -72,9 +72,11 @@
 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf


 %files devel

Comment 1 Michael K. Johnson 1999-12-06 21:31:59 UTC
Fixed in gmp-2.0.2-11, which should be in the next RawHide.