switch to _target_cpu to avoid mismatch with uname -m on i386
This commit is contained in:
parent
d6e881e38e
commit
248c0adb59
10
torque.spec
10
torque.spec
@ -71,7 +71,7 @@
|
||||
|
||||
Name: torque
|
||||
Version: 4.2.10
|
||||
Release: 27%{?dist}
|
||||
Release: 28%{?dist}
|
||||
Summary: Tera-scale Open-source Resource and QUEue manager
|
||||
Source0: http://www.adaptivecomputing.com/download/%{name}/%{name}-%{version}.tar.gz
|
||||
Source2: xpbs.desktop
|
||||
@ -517,7 +517,7 @@ rm %{buildroot}%{_mandir}/man1/basl2c.1
|
||||
chmod 755 `find %{buildroot}/var/lib/torque -type d`
|
||||
|
||||
# Use wrapper script for pbs-config and rename original script to include architecture name
|
||||
mv %{buildroot}%{_bindir}/pbs-config %{buildroot}%{_bindir}/pbs-config-%{_arch}
|
||||
mv %{buildroot}%{_bindir}/pbs-config %{buildroot}%{_bindir}/pbs-config-%{_target_cpu}
|
||||
install -m0755 -p %{SOURCE100} %{buildroot}%{_bindir}/pbs-config
|
||||
|
||||
%post
|
||||
@ -757,7 +757,7 @@ fi
|
||||
%{_includedir}/torque
|
||||
%exclude %{_includedir}/torque/drmaa.h
|
||||
%{_bindir}/pbs-config
|
||||
%{_bindir}/pbs-config-%{_arch}
|
||||
%{_bindir}/pbs-config-%{_target_cpu}
|
||||
%{_mandir}/man3/pbs_alterjob.3.*
|
||||
%{_mandir}/man3/pbs_connect.3.*
|
||||
%{_mandir}/man3/pbs_default.3.*
|
||||
@ -886,6 +886,10 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Aug 10 2020 Tom Callaway <spot@fedoraproject.org> - 4.2.10-28
|
||||
- using "%%{_arch}" resulted in a mismatch with uname -m on i386.
|
||||
switched to "%%{_target_cpu}"
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.10-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user