RPM Community Forums

Mailing List Message of <rpm-devel>

Re: upgrading from RPM 4 to RPM 5

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 31 Dec 2007 - 14:04:20 CET
Message-Id: <99FC625B-AC4A-4771-9784-315A765518F8@mac.com>

On Dec 31, 2007, at 7:45 AM, Jeff Johnson wrote:

>
> On Dec 31, 2007, at 7:40 AM, Jeff Johnson wrote:
>>
>> Hmmm, checking by rebuilding the Fedora popt-1.13 src rpm:
>>
>> 	# rpmbuild --rebuild popt-1.13-1.fc9.src.rpm
>> 	Installing popt-1.13-1.fc9.src.rpm
>> 	warning: user mockbuild does not exist - using root
>> 	warning: group mockbuild does not exist - using root
>> 	warning: user mockbuild does not exist - using root
>> 	warning: group mockbuild does not exist - using root
>> 	warning: user mockbuild does not exist - using root
>> 	warning: group mockbuild does not exist - using root
>> 	warning: user mockbuild does not exist - using root
>> 	warning: group mockbuild does not exist - using root
>> 	Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.95072
>> 	+ umask 022
>> 	+ cd /usr/src/rpm/BUILD
>> 	+ cd /usr/src/rpm/BUILD
>> 	+ rm -rf popt-1.13
>> 	...
>>
>> WORKSFORME
>>
>
> Ah, my test is backward, not forward, compatibility.
>
> rpm5 produced src.rpm's might not be readable by rpm4.
>
> I will check (and fix) in a moment. The failure you report
> has to do with the values in the lead, easily repaired if broken.
>

Still WORKSFORME:

[root@wellfleet SRPMS]# rpm --version
RPM version 4.5
[root@wellfleet SRPMS]# ls -al popt-1.13-1.src.rpm
-rw-r--r-- 1 jbj jbj 688963 2007-12-11 17:04 popt-1.13-1.src.rpm
[root@wellfleet SRPMS]# rpm -qp --qf '%{RPMVERSION}\n'  
popt-1.13-1.src.rpm
5.0.DEVEL
[root@wellfleet SRPMS]# rpm --rebuild popt-1.13-1.src.rpm
Installing popt-1.13-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.12987
+ umask 022
+ cd /usr/src/rpm/BUILD
+ cd /usr/src/rpm/BUILD
+ rm -rf popt-1.13
+ /bin/gzip -dc /usr/src/rpm/SOURCES/popt-1.13.tar.gz
+ tar -xf -

73 de Jeff
Received on Mon Dec 31 14:04:45 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.