Broken ntl-devel due to problems in multilib support (#846497)
This commit is contained in:
parent
1843df9975
commit
5e9c5e726d
@ -8,9 +8,9 @@
|
||||
#include <bits/wordsize.h>
|
||||
|
||||
#if __WORDSIZE == 32
|
||||
#include "@@INCLUDE@@"
|
||||
#include "@@INCLUDE@@-32.h"
|
||||
#elif __WORDSIZE == 64
|
||||
#include "@@INCLUDE@@"
|
||||
#include "@@INCLUDE@@-64.h"
|
||||
#else
|
||||
#error "unexpected value for __WORDSIZE macro"
|
||||
#endif
|
||||
|
9
ntl.spec
9
ntl.spec
@ -7,7 +7,7 @@
|
||||
Summary: High-performance algorithms for vectors, matrices, and polynomials
|
||||
Name: ntl
|
||||
Version: 5.5.2
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
|
||||
License: GPLv2+
|
||||
URL: http://shoup.net/ntl/
|
||||
@ -109,7 +109,7 @@ mv %{buildroot}%{_includedir}/${header}.h \
|
||||
%{buildroot}%{_includedir}/${header}-%{__isa_bits}.h
|
||||
install -p -m644 %{SOURCE1} %{buildroot}%{_includedir}/${header}.h
|
||||
sed -i \
|
||||
-e "s|@@INCLUDE@@|${header}.h|" \
|
||||
-e "s|@@INCLUDE@@|${header}|" \
|
||||
-e "s|@@INCLUDE_MACRO@@|$(echo ${header} | tr '/.' '_')|" \
|
||||
%{buildroot}%{_includedir}/${header}.h
|
||||
done
|
||||
@ -124,7 +124,7 @@ done
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/*
|
||||
%{_includedir}/*
|
||||
%{_includedir}/NTL/
|
||||
%{_libdir}/libntl.so
|
||||
|
||||
%if 0%{?static}
|
||||
@ -135,6 +135,9 @@ done
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Aug 08 2012 Rex Dieter <rdieter@fedoraproject.org> 5.5.2-7
|
||||
- Broken ntl-devel due to problems in multilib support (#846497)
|
||||
|
||||
* Wed Aug 1 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 5.5.2-6
|
||||
- Add tag to mode options for libtool (fixes FTBFS on ARM)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user