Bug 4719 - Typo in spec breaks build for M22
Summary: Typo in spec breaks build for M22
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: apache (show other bugs)
Version: unstable
Hardware: all Linux
: P4 major
Assignee: Michael Shigorin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-07 01:47 MSD by Pavel Usishev
Modified: 2005-07-13 15:46 MSD (History)
13 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.