mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
The command "make rpm" was failing for the following reasons : - setting the build directory to ./rpmbuild/ instead of default ~/rpmbuild/ was ignored. - errors in the spec file : wrong dates and characters in the changelog, and unpackaged files under misc/* - debug package built even if unneeded but failing to build because of missing requisites. Using "rpmbuild -tb ipmitool-*.tar.gz" instead of 'make rpm" builds under ~/rpmbuild/ but also fails because of the last two reasons. Signed-off-by: Gilles Buloz <gilles.buloz@kontron.com>
12 lines
359 B
Plaintext
12 lines
359 B
Plaintext
%_sourcedir %{_topdir}/..
|
|
%_specdir %{_sourcedir}
|
|
%_tmppath %{_topdir}/tmp
|
|
%_builddir %{_topdir}/BUILD
|
|
%_buildroot %{_topdir}/%{_tmppath}/%{name}-%{version}-root
|
|
%_rpmdir %{_topdir}/RPMS
|
|
%_srcrpmdir %{_topdir}/SRPMS
|
|
%_distro @DISTRO@
|
|
%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
|
|
%packager jmank@hp.com
|
|
%distribution Sourceforge Build
|