Bug 9513

Summary: error in spec file causes postinstall script to be missing
Product: [Retired] Red Hat Raw Hide Reporter: Benjamin S. Scarlet <scarlet>
Component: bindAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-18 13:14:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Benjamin S. Scarlet 2000-02-17 05:27:02 UTC
There is an error in the spec file in bind-8.2.2_P5-7.src.rpm, which
causes the associated binary rpms to be generated without the
postinstall script.  The error is just an erroneous leading space
before the "%post".  Unified diff follows.  Without this fix, the
package will not work unless there is already a user and group "named",
because they will not be created.

	Ben Scarlet

------------------CUT HERE----------------------
--- bind.spec	Thu Feb 17 00:18:47 2000
+++ bind.spec.old	Sat Feb 12 12:46:07 2000
@@ -109,7 +109,7 @@
 mkdir -p ${RPM_BUILD_ROOT}/etc/logrotate.d
 install -c -m 644 %SOURCE4 $RPM_BUILD_ROOT/etc/logrotate.d/named

+ %post
 /usr/sbin/useradd -c "Named" -u 25 \
 	-s /bin/false -r -d /var/named named 2>/dev/null || :

Comment 1 Bernhard Rosenkraenzer 2000-02-18 13:14:59 UTC
Fixed in 8.8.2_P5-8