Compare commits

...

4 Commits

Author SHA1 Message Date
Filip Janus d041ca5f26 Release bump to enable added gating.yaml Resolves: RHEL-5625 2023-11-08 10:08:12 +00:00
Filip Janus 33556d5ab4 Import missing gating.yaml 2023-11-08 10:43:42 +01:00
Filip Janus e8198fab24 Compile libqhullcpp with -fPIC
Resolves: RHEL-5625
2023-11-07 11:52:31 +01:00
Mohan Boddu 88f6ca9984 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-10 00:29:32 +00:00
4 changed files with 36 additions and 1 deletions

1
.qhull.metadata Normal file
View File

@ -0,0 +1 @@
b31a78d33a61873e4d7aba28e5cb0d292cb8b64a qhull-7.2.1.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.installability.functional}

12
qhull-pic.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up qhull-7.2.1/CMakeLists.txt.pic qhull-7.2.1/CMakeLists.txt
--- qhull-7.2.1/CMakeLists.txt.pic 2022-01-23 13:36:23.307550832 -0700
+++ qhull-7.2.1/CMakeLists.txt 2022-01-23 13:45:35.447166635 -0700
@@ -461,7 +461,7 @@ endif(UNIX)
add_library(${qhull_CPP} STATIC ${libqhullcpp_SOURCES})
set_target_properties(${qhull_CPP} PROPERTIES
- VERSION ${qhull_VERSION})
+ VERSION ${qhull_VERSION} POSITION_INDEPENDENT_CODE ON)
# ---------------------------------------
# Define qhull executables linked to qhullstatic library

View File

@ -5,12 +5,15 @@ Version: 7.2.1
# - Older releases used year.month
# - Newer releases use x.y.z
Epoch: 1
Release: 8%{?dist}
Release: 11%{?dist}
License: Qhull
Source0: https://github.com/qhull/qhull/archive/v%{version}.tar.gz#/qhull-%{version}.tar.gz
Patch1: 0001-Link-executables-against-shared-libs.patch
Patch2: 0002-Install-docs-into-subdirs.patch
# Compile libqhullcpp.a with -fPIC
# https://github.com/qhull/qhull/pull/47
Patch3: qhull-pic.patch
URL: http://www.qhull.org
@ -62,6 +65,7 @@ about a point.
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
mkdir -p build
@ -115,6 +119,18 @@ chrpath --delete ${RPM_BUILD_ROOT}%{_libdir}/lib*.so.*
%changelog
* Wed Nov 8 2023 Filip Janus <fjanus@redhat.com> - 1:7.2.1-11
- Release bump to enable added gating.yaml
- Resolves: RHEL-5625
* Mon Aug 21 2023 Filip Janus <fjanus@redhat.com> - 1:7.2.1-10
- Compile libqhullcpp with -fPIC
- Resolves: RHEL-5625
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:7.2.1-9
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:7.2.1-8
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937