Changeset 233


Ignore:
Timestamp:
Dec 17, 2005, 11:02:11 AM (14 years ago)
Author:
bcornec
Message:

sles9 rpm build support

Location:
branches/2.05
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.05/mindi/mindi.spec

    r201 r233  
    2828Group:          Archiving/Backup
    2929Autoreqprov: no
     30%endif
     31
     32%if %is_suse
     33%define src     %{name}-%{version}.tgz
     34Group:          Archiving/Backup
    3035%endif
    3136
  • branches/2.05/mondo/mondo.spec

    r206 r233  
    3030%endif
    3131
     32%if %is_suse
     33%define src     %{name}-%{version}.tgz
     34Group:          Archiving/Backup
     35%endif
    3236
    3337Summary:    A program which a Linux user can utilize to create a rescue/restore CD/tape
  • branches/2.05/tools/rpm-env

    r102 r233  
    5252    fi
    5353elif [ -e /etc/SuSE-release ]; then
    54     export ddir="suse"
    55     export dver=`cat /etc/SuSE-release | head -1 | awk '{print $3}'`
     54    grep -q Enterprise /etc/SuSE-release
     55    if [ $? -eq 0 ]; then
     56        export ddir="sles"
     57        export dver=`cat /etc/SuSE-release | head -1 | awk '{print $5}'`
     58    else
     59        export ddir="suse"
     60        export dver=`cat /etc/SuSE-release | head -1 | awk '{print $3}'`
     61    fi
    5662else
    5763    export dver=""
Note: See TracChangeset for help on using the changeset viewer.