lizl6 大佬!能不能发一下怎么转啊?我转的时候总是出错
utools$ ls
utools_2.5.1_amd64.deb
utools$ alien -v --to-rpm --scripts utools_2.5.1_amd64.deb
Warning: alien is not running as root!
Warning: Ownerships of files in the generated packages will probably be wrong.
dpkg-deb --info 'utools_2.5.1_amd64.deb' control 2>/dev/null
dpkg-deb --info 'utools_2.5.1_amd64.deb' control 2>/dev/null
dpkg-deb --info 'utools_2.5.1_amd64.deb' conffiles 2>/dev/null
dpkg-deb --fsys-tarfile 'utools_2.5.1_amd64.deb' | tar tf -
dpkg-deb --info 'utools_2.5.1_amd64.deb' postinst 2>/dev/null
dpkg-deb --info 'utools_2.5.1_amd64.deb' postrm 2>/dev/null
dpkg-deb --info 'utools_2.5.1_amd64.deb' preinst 2>/dev/null
dpkg-deb --info 'utools_2.5.1_amd64.deb' prerm 2>/dev/null
mkdir utools-2.5.1
chmod 755 utools-2.5.1
dpkg-deb -x utools_2.5.1_amd64.deb utools-2.5.1
rpm --showrc
cd utools-2.5.1; rpmbuild --buildroot='/home/xdl/utools/utools-2.5.1' -bb --target x86_64 'utools-2.5.1-2.spec' 2>&1
Package build failed. Here's the log of the command (cd utools-2.5.1; rpmbuild --buildroot='/home/xdl/utools/utools-2.5.1' -bb --target x86_64 'utools-2.5.1-2.spec'):
错误:行 5:空的标签:Summary:
构建目标平台:x86_64
为目标x86_64构建
find utools-2.5.1 -type d -exec chmod 755 {} ;
rm -rf utools-2.5.1
utools$ ls
utools_2.5.1_amd64.deb