Changeset 939 in MondoRescue for trunk/mindi/distributions/rpm/mindi.spec


Ignore:
Timestamp:
Nov 17, 2006, 1:41:11 PM (17 years ago)
Author:
Bruno Cornec
Message:

merge -r931:938 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mindi/distributions/rpm/mindi.spec

    r929 r939  
    3636export DONT_RELINK=1
    3737
    38 export PREFIX=${RPM_BUILD_ROOT}%{_exec_prefix}
    39 export CONFDIR=${RPM_BUILD_ROOT}%{_sysconfdir}
     38export HEAD=${RPM_BUILD_ROOT}
     39export PREFIX=%{_exec_prefix}
     40# Bug on x86_64 on _sysconfdir on rhel4 at least
     41%ifarch x86_64
     42export CONFDIR=/etc
     43%else
     44export CONFDIR=%{_sysconfdir}
     45%endif
     46export MANDIR=%{_mandir}
     47export DOCDIR=%{_docdir}
     48export LIBDIR=%{_libdir}
    4049export RPMBUILDMINDI="true"
    4150
     
    4453%clean
    4554%{__rm} -rf $RPM_BUILD_ROOT
    46 
    47 %post
    48 if [ -f /usr/local/sbin/mindi ]; then
    49     echo "WARNING: /usr/local/sbin/mindi exists. You should probably remove your manual mindi installation !"
    50 fi
    5155
    5256%files
Note: See TracChangeset for help on using the changeset viewer.