Diff

Differences From Artifact [0254258e24]:

To Artifact [37e5d36a75]:


    23     23   mkdir -p ~/rpmbuild/SPECS ~/rpmbuild/SOURCES
    24     24   
    25     25   cp "${CACKEY_TARBALL}" ~/rpmbuild/SOURCES/ || exit 1
    26     26   tar -xOf "${CACKEY_TARBALL}" cackey-${VERSION}/cackey.spec > ~/rpmbuild/SPECS/cackey-${VERSION}.spec || exit 1
    27     27   
    28     28   rpmbuild -ba ~/rpmbuild/SPECS/cackey-${VERSION}.spec || exit 1
    29     29   
           30  +# Create Debian package from RPM
           31  +mkdir -p ~/rpmbuild/DEB
           32  +"$(dirname "$0")/rpm2deb" ~/rpmbuild/RPMS/i386/cackey-${VERSION}-1.i386.rpm ~/rpmbuild/DEB/cackey_${VERSION}-1_i386.deb
           33  +
    30     34   ## Create Slackware package
    31     35   mkdir -p ~/rpmbuild/TGZ
    32     36   
    33     37   WORKDIR="${TMPDIR:-/tmp}/cackey-build-$$${RANDOM}${RANDOM}${RANDOM}"
    34     38   WORKDIRINSTROOT="${WORKDIR}/root"
    35     39   export WORKDIR WORKDIRINSTROOT
    36     40