Check-in [def14c0dc3]
Overview
Comment:Fixed bug in rpm2deb for x86_64
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:def14c0dc347d02ef16202909f22e9c5158caae1
User & Date: rkeene on 2011-07-21 21:12:51
Other Links: manifest | tags
Context
2011-08-24
01:46
Updated Mac OS X build scripts check-in: e8be04d9cf user: rkeene tags: trunk
2011-07-21
21:12
Fixed bug in rpm2deb for x86_64 check-in: def14c0dc3 user: rkeene tags: trunk
2011-06-17
06:26
Corrected small issues check-in: 80df9c1ff5 user: rkeene tags: trunk
Changes

Modified build/rpm2deb from [7cc46ae9f0] to [b2cfeaf6b7].

    38     38   (
    39     39   	cd "${WORKDIR}/root" || exit 1
    40     40   
    41     41   	## Create MD5 Sums
    42     42   	find . -type f | xargs md5sum > "${WORKDIR}/control/md5sums"
    43     43   
    44     44   	## Create Package description
    45         -	rpm -q --queryformat 'Package: %{Name}\nVersion: %{Version}-%{Release}\nArchitecture: %{Arch}\nInstalled-Size: %{Size}\nMaintainer: %{Packager}\nDescription:' -p "${RPMFILE}" > "${WORKDIR}/control/control"
           45  +	rpm -q --queryformat 'Package: %{Name}\nVersion: %{Version}-%{Release}\nArchitecture: %{Arch}\nInstalled-Size: %{Size}\nMaintainer: %{Packager}\nDescription:' -p "${RPMFILE}" | sed 's@^Architecture: x86_64$@Architecture: amd64@' > "${WORKDIR}/control/control"
    46     46   	rpm -q --queryformat '%{Description}' -p "${RPMFILE}" | sed 's@^@ @;s@^ $@ .@' >> "${WORKDIR}/control/control"
    47     47   echo '' >> "${WORKDIR}/control/control"
    48     48   
    49     49   	## Create tarball with all data
    50     50   	cd "${WORKDIR}/control" || exit 1
    51     51   	tar -zcf "${WORKDIR}/deb/control.tar.gz" *
    52     52   ) || exit 1