Package: alien
Version: 8.56
Severity: normal

Alien apparently generates a spec file that makes rpm fall over:

----------------------------------------------------------------------
    $ sudo apt-get source -b alien
    Reading package lists... Done
    Building dependency tree... Done
    Need to get 74.1kB of source archives.
    Get:1 http://mirror.ox.ac.uk unstable/main alien 8.56 (dsc) [494B]
    Get:2 http://mirror.ox.ac.uk unstable/main alien 8.56 (tar) [73.6kB]
    Fetched 2B in 0s (72B/s)
    dpkg-source: extracting alien in alien-8.56
    dpkg-source: unpacking alien_8.56.tar.gz

[...]

    dpkg-deb: building package `alien' in `../alien_8.56_all.deb'.
     dpkg-genchanges -b
    dpkg-genchanges: binary-only upload - not including any source code
    dpkg-buildpackage: binary only upload (no source included)

    $ sudo alien --to-rpm --verbose alien_8.56_all.deb
            dpkg-deb --info alien_8.56_all.deb control 2>/dev/null
            dpkg-deb --info alien_8.56_all.deb control 2>/dev/null
            dpkg-deb --info alien_8.56_all.deb conffiles 2>/dev/null
            dpkg-deb --fsys-tarfile alien_8.56_all.deb | tar tf -
            dpkg-deb --info alien_8.56_all.deb postinst 2>/dev/null
            dpkg-deb --info alien_8.56_all.deb postrm 2>/dev/null
            dpkg-deb --info alien_8.56_all.deb preinst 2>/dev/null
            dpkg-deb --info alien_8.56_all.deb prerm 2>/dev/null
            mkdir alien-8.56
    mkdir: cannot create directory `alien-8.56': File exists
            chmod 755 alien-8.56
            dpkg-deb -x alien_8.56_all.deb alien-8.56
            rpm --showrc
            cd alien-8.56; rpmbuild -bb --target noarch alien-8.56-2.spec 2>&1
    Package build failed. Here's the log of the command (cd alien-8.56; 
rpmbuild -bb --target noarch alien-8.56-2.spec):
    error: Legacy syntax is unsupported: copyright
    error: line 6: Unknown tag: Copyright: see /usr/share/doc/alien/copyright
    Building target platforms: noarch
    Building for target noarch
            find alien-8.56 -type d -exec chmod 755 {} ;
            rm -rf alien-8.56
----------------------------------------------------------------------

The change appears deliberate; from /usr/share/doc/rpm/changelog.gz:

        - obsolete Serial:, Copyright:, and RHNPlatform: syntax in spec files.

Thanks.

Matt

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages alien depends on:
ii  cpio                          2.6-9      GNU cpio -- a program to manage ar
ii  debhelper                     4.9.15     helper programs for debian/rules
ii  dpkg-dev                      1.13.11    package building tools for Debian
ii  make                          3.80-11    The GNU version of the "make" util
ii  perl                          5.8.7-7    Larry Wall's Practical Extraction 
ii  rpm                           4.4.1-4    Red Hat package manager

alien recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to