Changeset 1635


Ignore:
Timestamp:
Sep 10, 2010, 2:50:17 PM (11 years ago)
Author:
ezyang
Message:
Fix rpmlint and Anders complaints.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fc13-dev/server/fedora/specs/zephyr.spec

    r1633 r1635  
    2626%prep
    2727%setup -q
     28cp -p %{SOURCE1} .
    2829
    2930
     
    3132# Mitch wants to make an awesome specfile which makes hesiod/krb5 and friends
    3233# all fully configurable.  This configure line will have to do for now.
    33 %configure --with-hesiod=%{_usr} --with-krb5=%{_usr}
     34%configure --with-hesiod --with-krb5
    3435sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
    3536sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
     
    4142make install DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir}
    4243
    43 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
    44 install -m755 $RPM_SOURCE_DIR/zhm.init \
    45         $RPM_BUILD_ROOT/etc/rc.d/init.d/zhm
     44mkdir -p $RPM_BUILD_ROOT%{_initddir}
     45install -m755 zhm.init \
     46        $RPM_BUILD_ROOT%{_initddir}/zhm
    4647
    4748
     
    7879%{_datadir}/%{name}/
    7980%{_sysconfdir}/%{name}/
    80 %{_sysconfdir}/rc.d/init.d/zhm
     81%{_initddir}/zhm
    8182
    8283
Note: See TracChangeset for help on using the changeset viewer.