Changeset 248


Ignore:
Timestamp:
Dec 20, 2005, 1:28:31 PM (14 years ago)
Author:
bcornec
Message:

align mindi.spec to mondo.spec after sles9 changes

Location:
branches/2.05
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.05/mindi/install.sh

    r243 r248  
    3131echo "mindi ${MINDIVER}-r${MINDIREV} will be installed under $local"
    3232
    33 if [ "_$DOCDIR" = "_" ]; then
    34     DOCDIR=$local/share/doc/mindi-$MINDIVER
    35 fi
     33DOCDIR=$local/share/doc/mindi-$MINDIVER
     34MANDIR=$local/share/man/man8
    3635
    3736echo "Creating target directories ..."
    38 install -m 755 -d $conf $local/lib/mindi $local/share/man/man8 $local/sbin $DOCDIR
     37install -m 755 -d $conf $local/lib/mindi $MANDIR $local/sbin $DOCDIR
    3938
    4039echo "Copying files ..."
     
    5554install -m 755 analyze-my-lvm parted2fdisk.pl $local/sbin
    5655
    57 install -m 644 mindi.8 $local/share/man/man8
     56install -m 644 mindi.8 $MANDIR
    5857install -m 644 CHANGES COPYING README README.busybox README.ia64 README.pxe TODO INSTALL $DOCDIR
    5958
     
    104103if [ "$RPMBUILDMINDI" != "true" ]; then
    105104    chown -R root:root $local/lib/mindi $conf/mindi $conf $DOCDIR
    106     chown root:root $local/sbin/mindi $local/share/man/man8/mindi.8 $local/sbin/analyze-my-lvm $local/sbin/parted2fdisk.pl
     105    chown root:root $local/sbin/mindi $MANDIR/mindi.8 $local/sbin/analyze-my-lvm $local/sbin/parted2fdisk.pl
    107106    if [ "$ARCH" = "ia64" ] ; then
    108107        chown root:root $local/sbin/parted2fdisk
  • branches/2.05/mindi/mindi.spec

    r242 r248  
    1111%define version VVV
    1212%define mrel    1
    13 %define docname     %{name}-%{version}
    1413%define src     %{name}-%{version}.tgz
    1514
     
    3332%if %is_suse
    3433Group:          Archiving/Backup
    35 %define docname     %{name}
    3634%endif
    3735
     
    7270export CONFDIR=${RPM_BUILD_ROOT}%{_sysconfdir}
    7371export RPMBUILDMINDI="true"
    74 export DOCDIR=${RPM_BUILD_ROOT}${RPM_DOC_DIR}/%{docname}
    7572
    7673./install.sh
     74
     75%if %is_suse
     76%{__rm} -rf $RPM_BUILD_ROOT/%{_datadir}/doc/%name-%{version}
     77%endif
    7778
    7879%clean
  • branches/2.05/mondo/mondo.spec

    r247 r248  
    1111%define version VVV
    1212%define mrel    1
    13 %define docname     %{name}-%{version}
    1413%define src     %{name}-%{version}.tgz
    1514
     
    3332%if %is_suse
    3433Group:          Archiving/Backup
    35 %define docname     %{name}
    3634%endif
    3735
Note: See TracChangeset for help on using the changeset viewer.