cannot build mipsel rpm
I copied all files that I need in the package, to BUILDROOT/zlib-1.2.7-1.mipsel. Then I created SPECS/zlib-1.2.7.mipsel.spec with the following content:
Name: zlib
Version: 1.2.7
Release: 1
Summary: zlib 1.2.7 dev package for mipsel
License: Public
%description
%files
/include
/lib
/share
When I run rpmbuild:
rpmbuild -bb --target=mipsel zlib-1.2.7.mipsel.spec
it shows this:
Building for target mipsel
Processing files: zlib-1.2.7-1.mipsel
error: File not found: /home/makerpm/rpmbuild/BUILDROOT/zlib-1.2.7-1.%{_arch}/include
error: File not found: /home/makerpm/rpmbuild/BUILDROOT/zlib-1.2.7-1.%{_arch}/lib
error: File not found: /home/makerpm/rpmbuild/BUILDROOT/zlib-1.2.7-1.%{_arch}/share
RPM build errors:
File not found: /home/makerpm/rpmbuild/BUILDROOT/zlib-1.2.7-1.%{_arch}/include
File not found: /home/makerpm/rpmbuild/BUILDROOT/zlib-1.2.7-1.%{_arch}/lib
File not found: /home/makerpm/rpmbuild/BUILDROOT/zlib-1.2.7-1.%{_arch}/share
How can I package files for mipsel?
|