Bug 4719

Summary: Typo in spec breaks build for M22
Product: Sisyphus Reporter: Pavel Usishev <usishev>
Component: apacheAssignee: Michael Shigorin <mike>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P4 CC: at, cas, crux, ender, lakostis, ldv, mike, mithraen, qa_viy, rider, shaba, solo, viy
Version: unstable   
Hardware: all   
OS: Linux   

Description Pavel Usishev 2004-07-07 01:47:50 MSD
New style initscripts get packaged in M22 build because of a typo in spec. The
following (trivial) patch would correct this.

--- apache.spec.orig    2004-07-07 01:15:49 +0400
+++ apache.spec 2004-07-07 01:18:48 +0400
@@ -605,7 +605,7 @@
 # install proper initscripts
 %__mkdir_p %buildroot%_sysconfdir/rc.d/init.d

-%if "%feature_initscripts" == "M22"
+%if "%feature_initscripts" == "2_2"
 %__install -m755 %SOURCE33 \
        %buildroot%_sysconfdir/rc.d/init.d/httpd
 %__install -m755 %SOURCE34 \
Comment 1 Michael Shigorin 2004-07-07 09:13:22 MSD
Strange.  I've checked the build (which was conducted for updates) and it's
installing/working on 2.2 perfectly OK; rechecked the initscript and found that
it's "old-style" one.

Fixed in 1.3.31rusPL30.20-alt7.
Comment 2 Pavel Usishev 2004-07-07 11:24:33 MSD
Strange indeed. I copy-pasted the code for my spec, and it packaged the wrong
initscript. Maybe I just missed something in apache spec. I just rechecked it
and could not find why it would build correctly for M22. Anyway, I mark the bug
closed.