Hi,
I have used the rpmbuild to build a binary rpm archive. But when I tried to
extract it, it did not install to the directory that I intend it to be. Instead it installed
to the directory but relative the the directory that the rpm was sitting on.
My spec file looks like
Summary
Prefix: /opt/mydir
%files
%{Product_root_d}/bin/*
%{Product_root_d}/lib/*
%{Product_root_d}/script/*
And the rpm was generated in /usr/src/Packages/RPMS/i586/my.rpm
but when my.rpm is extracted, it generates the directory /usr/src/Packages/RPMS/i586/opt/mydir instead of
/opt/mydir |
|
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list