Changeset: 93a75102165b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=93a75102165b
Modified Files:
        MonetDB.spec
Branch: Apr2019
Log Message:

No pkgconfig(atomic_ops) on RHEL 6.


diffs (30 lines):

diff --git a/MonetDB.spec b/MonetDB.spec
--- a/MonetDB.spec
+++ b/MonetDB.spec
@@ -144,7 +144,12 @@ BuildRequires: pkgconfig(gdal)
 %if %{?rhel:1}%{!?rhel:0}
 # On RHEL, use the atomic_ops package for atomic operation.
 # On Fedora, we use <stdatomic.h> from C11.
+%if 0%{?rhel} >= 7
 BuildRequires: pkgconfig(atomic_ops)
+%else
+# primitive RHEL 6
+BuildRequires: libatomic_ops-devel
+%endif
 %endif
 BuildRequires: pkgconfig(libcurl)
 BuildRequires: pkgconfig(liblzma)
@@ -214,8 +219,13 @@ Requires: %{name}%{?_isa} = %{version}-%
 Requires: %{name}-stream-devel%{?_isa} = %{version}-%{release}
 %if %{?rhel:1}%{!?rhel:0}
 # RHEL
+%if 0%{?rhel} >= 7
+Requires: pkgconfig(atomic_ops)
+%else
+# primitive RHEL 6
 Requires: libatomic_ops-devel
 %endif
+%endif
 
 %description devel
 MonetDB is a database management system that is developed from a
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to