Package: alien
Version: 8.51
Severity: normal

While converting a debian package to rpm I found that alien doesn't add
the %post section to the rpm specfile if the .deb has a postinst script.

It seems that function "postinst" in /usr/share/perl5/Alien/Package/Deb.pm
conflicts in some way with the variable $this->postinst.
I tried to remove the function "postint" and this seems to fix this
specific problem but I don't know what other effects this may cause.

You can reproduce the bug on a debian package containing postinst and
prerm scripts with the following command:

  fakeroot alien -r -k -c -g at_3.1.8-11_i386.deb

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1-5-686
Locale: LANG=C, LC_CTYPE=it_IT

Versions of packages alien depends on:
ii  cpio                    2.5-1.1ubuntu0.1 GNU cpio -- a program to manage ar
ii  debhelper               4.2.11ubuntu2    helper programs for debian/rules
ii  dpkg-dev                1.10.22ubuntu2   Package building tools for Debian
ii  make                    3.80-8           The GNU version of the "make" util
ii  perl                    5.8.4-2ubuntu0.4 Larry Wall's Practical Extraction 
ii  rpm                     4.0.4-28ubuntu2  Red Hat package manager

-- no debconf information

-- 
Massimo Dal Zotto <[EMAIL PROTECTED]>


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

Reply via email to