[Nut-upsuser] Trying to build opensuse 11.0 64-bit rpm for nut-2.2.2
Roger Price
rprice at cs.uml.edu
Tue Jul 1 14:24:34 UTC 2008
I am trying to build an rpm for nut-2.2.2 on 64 bit opensuse 11.0.
0. Packages previously built for opensuse 10.x have to be rebuilt since
opensuse 11.0 now compresses package payloads using lzma, which
according to the opensuse 11.0 release notes makes 10.x rpms unusable.
1. I downloaded nut-2.2.2.tar.gz
2. I recompressed as a bz2 as expected by rpmbuild
3. I extracted and copied ./nut-2.2.2/packaging/opensuse/nut.spec to
/usr/src/packages/SPECS
4. I ran the command
script -c "rpmbuild -v -ta nut-2.2.2.tar.bz2" rpmbuild.log
and got the message
error: File /root/nut/nut-2.2.2/nut-2.0.1.tar.bz2: No such file or
directory
In /usr/src/packages/SPECS/nut.spec I saw the lines
%define version 2.0.1
and
Patch0: nut-2.0.1-lib64.patch.bz2
I'm not sure how to fix these - any help would be much appreciated.
Roger
More information about the Nut-upsuser
mailing list