Changeset 244 for trunk/mindi/mindi.spec


Ignore:
Timestamp:
Dec 20, 2005, 10:38:54 AM (14 years ago)
Author:
bcornec
Message:

merge -r239:243 $SVN_M/branches/2.05

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mindi/mindi.spec

    r238 r244  
    1111%define version VVV
    1212%define mrel    1
     13%define docname     %{name}-%{version}
     14%define src     %{name}-%{version}.tgz
    1315
    1416%if %is_redhat
    15 %define src     %{name}-%{version}.tgz
    1617Group:          Applications/Archiving
    1718Autoreq:    0
     
    3132
    3233%if %is_suse
    33 %define src     %{name}-%{version}.tgz
    3434Group:          Archiving/Backup
     35%define docname     %{name}
    3536%endif
    3637
     
    7172export CONFDIR=${RPM_BUILD_ROOT}%{_sysconfdir}
    7273export RPMBUILDMINDI="true"
     74export DOCDIR=${RPM_BUILD_ROOT}${RPM_DOC_DIR}/%{docname}
    7375
    7476./install.sh
     
    7880
    7981%post
    80 %{__chmod} 755 %{_libdir}/mindi/aux-tools/sbin/* %{_libdir}/mindi/rootfs/bin/* %{_libdir}/mindi/rootfs/sbin/*
     82for i in %{_libdir}/mindi/aux-tools/sbin/* %{_libdir}/mindi/rootfs/bin/* %{_libdir}/mindi/rootfs/sbin/* ; do
     83    if [ ! -h $i ]; then
     84        %{__chmod} 755 $i
     85    fi
     86done
    8187if [ -f /usr/local/sbin/mindi ]; then
    8288    echo "WARNING: /usr/local/sbin/mindi exists. You should probably remove your manual mindi installation !"
Note: See TracChangeset for help on using the changeset viewer.