diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2018-11-30 12:40:43 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2018-11-30 12:40:43 +0900 |
commit | e1659dc4ce74d3c47f465103951dafff8fc0cf9f (patch) | |
tree | e135d41257133e53a1a09571fbdf3cb284b49bba /package | |
parent | 97330b5a608c2213fdf3f49bfbaa268bf9627920 (diff) | |
download | libsolv-e1659dc4ce74d3c47f465103951dafff8fc0cf9f.tar.gz libsolv-e1659dc4ce74d3c47f465103951dafff8fc0cf9f.tar.bz2 libsolv-e1659dc4ce74d3c47f465103951dafff8fc0cf9f.zip |
Imported Upstream version 0.6.28upstream/0.6.28
Change-Id: I7eea26ff3eb092805c915018606cc185fa47e21f
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/libsolv.changes | 29 | ||||
-rw-r--r-- | package/libsolv.spec.in | 50 |
2 files changed, 72 insertions, 7 deletions
diff --git a/package/libsolv.changes b/package/libsolv.changes index 94bb400..5418084 100644 --- a/package/libsolv.changes +++ b/package/libsolv.changes @@ -1,4 +1,33 @@ ------------------------------------------------------------------- +Fri Jun 30 16:37:31 CEST 2017 - mls@suse.de + +- make peace with newer perl versions +- fix memory leak in bindings +- add pool_best_solvables() function +- fix 64bit integer parsing from RPM headers +- bump version to 0.6.28 + +------------------------------------------------------------------- +Sun May 28 13:32:15 UTC 2017 - ngompa13@gmail.com + +- Enable complex/rich dependencies for CentOS/RHEL 7, matching how + libsolv is configured there. + +------------------------------------------------------------------- +Thu May 11 12:41:07 UTC 2017 - ngompa13@gmail.com + +- Disable bzip2 and xz/lzma compression support for SLE <= 12 + +------------------------------------------------------------------- +Mon May 8 13:15:09 UTC 2017 - ngompa13@gmail.com + +- Enable bzip2 and xz/lzma compression support +- Enable complex/rich dependencies on distributions with RPM 4.13+ +- Simplified CentOS/RHEL conditionals +- Added Mageia conditionals +- Fixed a few spec portability issues + +------------------------------------------------------------------- Tue Apr 25 14:11:05 CEST 2017 - mls@suse.de - change queue resize code to use adaptive chunk sizes diff --git a/package/libsolv.spec.in b/package/libsolv.spec.in index d21562c..6f153f0 100644 --- a/package/libsolv.spec.in +++ b/package/libsolv.spec.in @@ -30,18 +30,32 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %bcond_without ruby_binding %bcond_with zypp +%if 0%{?leap_version} >= 420300 || 0%{?sle_version} >= 120300 || 0%{?suse_version} >= 1330 || !0%{?suse_version} +%bcond_without bz2 +%bcond_without xz +%else +%bcond_with bz2 +%bcond_with xz +%endif + +%if 0%{?fedora} || 0%{?rhel} >= 7 || 0%{?mageia} >= 6 || 0%{?suse_version} >= 1330 +%bcond_without richdeps +%else +%bcond_with richdeps +%endif + %if 0%{?mandriva_version} # force this version on mandriva BuildRequires: libneon0.26-devel %endif -%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 600 +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?mageia} BuildRequires: db-devel %endif BuildRequires: libxml2-devel %if 0%{?suse_version} && 0%{?suse_version} < 1100 BuildRequires: graphviz %endif -%if 0%{?suse_version} > 1020 +%if 0%{?suse_version} > 1020 || 0%{?fedora} || 0%{?mageia} BuildRequires: fdupes %endif BuildRequires: cmake @@ -51,27 +65,43 @@ BuildRequires: zlib-devel %if %{with perl_binding} BuildRequires: perl -%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 600 +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?mageia} BuildRequires: perl-devel %endif BuildRequires: swig %endif + %if %{with ruby_binding} %global ruby_vendorarch %(ruby -r rbconfig -e "puts RbConfig::CONFIG['vendorarchdir'].nil? ? RbConfig::CONFIG['sitearchdir'] : RbConfig::CONFIG['vendorarchdir']") BuildRequires: ruby BuildRequires: ruby-devel BuildRequires: swig %endif + %if %{with python_binding} %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(True))") BuildRequires: python-devel BuildRequires: swig %endif + %if %{with python3_binding} %global python3_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(True))") BuildRequires: python3-devel %endif +%if %{with bz2} +%if 0%{?suse_version} +BuildRequires: libbz2-devel +%else +BuildRequires: bzip2-devel +%endif +%endif + +%if %{with xz} +BuildRequires: xz-devel +%endif + + Summary: A new approach to package dependency solving License: BSD-3-Clause Group: Development/Libraries/C and C++ @@ -115,7 +145,7 @@ A new approach to package dependency solving. Summary: Applications demoing the libsolv library Group: System/Management Requires: curl -%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 600 +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?mageia} Requires: gnupg2 %endif %if 0%{?suse_version} @@ -166,8 +196,11 @@ export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$CFLAGS" CMAKE_FLAGS= -%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 600 -CMAKE_FLAGS="-DFEDORA=1" +%if 0%{?fedora} || 0%{?rhel} >= 6 +CMAKE_FLAGS="-DFEDORA=1 -DENABLE_APPDATA=1 -DENABLE_COMPS=1" +%endif +%if 0%{?mageia} +CMAKE_FLAGS="-DMAGEIA=1 -DENABLE_APPDATA=1 -DENABLE_COMPS=1" %endif %if 0%{?suse_version} CMAKE_FLAGS="-DSUSE=1 -DENABLE_APPDATA=1 -DENABLE_COMPS=1" @@ -185,10 +218,13 @@ cmake $CMAKE_FLAGS \ %{?with_python_binding:-DENABLE_PYTHON=1} \ %{?with_python3_binding:-DENABLE_PYTHON3=1} \ %{?with_ruby_binding:-DENABLE_RUBY=1} \ + %{?with_bz2:-DENABLE_BZIP2_COMPRESSION=1} \ + %{?with_xz:-DENABLE_LZMA_COMPRESSION=1} \ + %{?with_richdeps:-DENABLE_COMPLEX_DEPS=1} \ %{?with_zypp:-DENABLE_SUSEREPO=1 -DENABLE_HELIXREPO=1} \ -DUSE_VENDORDIRS=1 \ -DCMAKE_SKIP_RPATH=1 -make %{?jobs:-j %jobs} +make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install |