Bug 4719 - Typo in spec breaks build for M22
: Typo in spec breaks build for M22
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/apache)
: unstable
: all Linux
: P4 major
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2004-07-07 01:47 by
Modified: 2005-07-13 15:46 (History)


Attachments


Note

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


Description From 2004-07-07 01:47:50
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 From 2004-07-07 09:13:22 -------
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 From 2004-07-07 11:24:33 -------
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.