Add excludearch and bug urls
This commit is contained in:
parent
ee4d28e643
commit
15648c6491
|
@ -39,13 +39,25 @@ documentation.}
|
|||
|
||||
Name: python-%{modname}
|
||||
Version: 2.29
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Efficient network analysis tool written in Python
|
||||
|
||||
License: GPLv3+
|
||||
URL: https://graph-tool.skewed.de/
|
||||
Source0: https://downloads.skewed.de/%{modname}/%{modname}-%{version}.tar.bz2
|
||||
|
||||
# Fails on i686: issue filed: https://git.skewed.de/count0/graph-tool/issues/617
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1771023
|
||||
# Fails on armv7hl: virtual memory exhausted
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1771024
|
||||
# Fails on ppc64le: note: variable tracking size limit exceeded with '-fvar-tracking-assignments', retrying without
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1771031
|
||||
# Fails on s390x: note: variable tracking size limit exceeded with '-fvar-tracking-assignments', retrying without
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1771034
|
||||
# Takes ~23 hours on x86_64 if we get unlucky and get a 6 core 16gig machine, ~4 hours if we get a 48 core 128gig machine
|
||||
# Takes ~45 hours on aarch64
|
||||
ExcludeArch: i686 armv7hl ppc64le s390x
|
||||
|
||||
# Workaround for https://git.skewed.de/count0/graph-tool/issues/613
|
||||
# CGAL 5.x is now header only
|
||||
# Required on F32+
|
||||
|
@ -95,7 +107,7 @@ find . -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/env.*$/ d' {} 2>/
|
|||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure --with-python-module-path=%{python3_sitearch}
|
||||
%configure --with-python-module-path=%{python3_sitearch} --with-boost-libdir=%{_libdir}
|
||||
echo "Building with %{numthreads} of %{?_smp_build_ncpus} available CPUs"
|
||||
# Uses the latest value set by -j
|
||||
%make_build -j%{numthreads}
|
||||
|
@ -117,6 +129,9 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
|||
%{_libdir}/pkgconfig/%{modname}-py%{python3_version}.pc
|
||||
|
||||
%changelog
|
||||
* Sat Nov 09 2019 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.29-2
|
||||
- Exclude builds on arches: usually falls short of resources
|
||||
|
||||
* Fri Nov 01 2019 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.29-1
|
||||
- Remove unneeded shebangs
|
||||
|
||||
|
|
Loading…
Reference in New Issue