Enable conda support

This commit is contained in:
Orion Poplawski 2021-06-16 10:25:29 -06:00
parent 4fbb6d36ad
commit 4ba578867c

View File

@ -7,6 +7,7 @@
%bcond_without appdata %bcond_without appdata
# Creates special prefixed "group:", "category:" pseudo-packages # Creates special prefixed "group:", "category:" pseudo-packages
%bcond_without comps %bcond_without comps
%bcond_without conda
# For rich dependencies # For rich dependencies
%bcond_without complex_deps %bcond_without complex_deps
%bcond_without helix_repo %bcond_without helix_repo
@ -22,7 +23,7 @@
Name: lib%{libname} Name: lib%{libname}
Version: 0.7.17 Version: 0.7.17
Release: 4%{?dist} Release: 5%{?dist}
Summary: Package dependency solver Summary: Package dependency solver
License: BSD License: BSD
@ -151,6 +152,7 @@ Python 3 version.
-DENABLE_ARCHREPO=%{__cmake_switch -b arch_repo} \ -DENABLE_ARCHREPO=%{__cmake_switch -b arch_repo} \
-DMULTI_SEMANTICS=%{__cmake_switch -b multi_semantics} \ -DMULTI_SEMANTICS=%{__cmake_switch -b multi_semantics} \
-DENABLE_COMPLEX_DEPS=%{__cmake_switch -b complex_deps} \ -DENABLE_COMPLEX_DEPS=%{__cmake_switch -b complex_deps} \
-DENABLE_CONDA=%{__cmake_switch -b conda} \
-DENABLE_PERL=%{__cmake_switch -b perl_bindings} \ -DENABLE_PERL=%{__cmake_switch -b perl_bindings} \
-DENABLE_RUBY=%{__cmake_switch -b ruby_bindings} \ -DENABLE_RUBY=%{__cmake_switch -b ruby_bindings} \
-DENABLE_PYTHON=%{__cmake_switch -b python_bindings} \ -DENABLE_PYTHON=%{__cmake_switch -b python_bindings} \
@ -224,6 +226,9 @@ export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
%if %{with suse_repo} %if %{with suse_repo}
%solv_tool susetags2solv %solv_tool susetags2solv
%endif %endif
%if %{with conda}
%{_bindir}/conda2solv
%endif
%files demo %files demo
%solv_tool solv %solv_tool solv
@ -247,6 +252,9 @@ export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
%endif %endif
%changelog %changelog
* Wed Jun 16 2021 Orion Poplawski <orion@nwra.com> - 0.7.17-5
- Enable conda support
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.7.17-4 * Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.7.17-4
- Rebuilt for Python 3.10 - Rebuilt for Python 3.10