diff --git a/libzypp-17.10.1.tar.bz2 b/libzypp-17.10.1.tar.bz2 new file mode 100644 index 0000000..1d2c6ac --- /dev/null +++ b/libzypp-17.10.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f2841fa7ae2d3704d3eb4e8ef8119f044d8fc83ac5a2680a2049a1940cafb20 +size 4718691 diff --git a/libzypp-17.9.0.tar.bz2 b/libzypp-17.9.0.tar.bz2 deleted file mode 100644 index 70ba42f..0000000 --- a/libzypp-17.9.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0b21b4a38113c0d04a5df3f38934d0575caa90db6c85393087d07d29820cd070 -size 4711973 diff --git a/libzypp.changes b/libzypp.changes index e6a3cf3..e9d090f 100644 --- a/libzypp.changes +++ b/libzypp.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Nov 28 14:40:26 CET 2018 - ma@suse.de + +- Adapt to changes in upcoming Boost 1.69.0 +- Do not fail service-refresh on a empty repoindex.xml (bnc#1116840) +- version 17.10.1 (9) + +------------------------------------------------------------------- +Mon Nov 26 12:14:49 CET 2018 - ma@suse.de + +- str: recognize 'always' and 'never' as valid boolean strings +- Fix needreboot code to use SolvableSpec parser (fate#326451) +- SolvableSpec: Define a set of Solvables by ident and provides +- version 17.10.0 (9) + ------------------------------------------------------------------- Wed Nov 14 11:48:35 CET 2018 - ma@suse.de diff --git a/libzypp.spec b/libzypp.spec index 399a7f9..dc93718 100644 --- a/libzypp.spec +++ b/libzypp.spec @@ -17,10 +17,10 @@ Name: libzypp -Version: 17.9.0 +Version: 17.10.1 Release: 0 Url: https://github.com/openSUSE/libzypp -Summary: Package, Patch, Pattern, and Product Management +Summary: Library for package, patch, pattern and product management License: GPL-2.0-or-later Group: System/Packages BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -134,10 +134,24 @@ BuildRequires: libxslt-tools %endif %description -Package, Patch, Pattern, and Product Management +libzypp is the package management library that powers applications +like YaST, zypper and the openSUSE/SLE implementation of PackageKit. + +libzypp provides functionality for a package manager: + + * An API for package repository management, supporting most common + repository metadata formats and signed repositories. + * An API for solving packages, products, patterns and patches + (installation, removal, update and distribution upgrade + operations) dependencies, with additional features like locking. + * An API for commiting the transaction to the system over a rpm + target. Supporting deltarpm calculation, media changing and + installation order calculation. + * An API for browsing available and installed software, with some + facilities for programs with an user interface. %package devel -Summary: Package, Patch, Pattern, and Product Management - developers files +Summary: Header files for libzypp, a library for package management Group: Development/Libraries/C and C++ Provides: yast2-packagemanager-devel Obsoletes: yast2-packagemanager-devel @@ -182,14 +196,15 @@ Requires: libsolv-devel %endif %description devel -Package, Patch, Pattern, and Product Management - developers files +Development files for libzypp, a library for package, patch, pattern +and product management. %package devel-doc -Summary: Package, Patch, Pattern, and Product Management - developers files +Summary: Developer documentation for libzypp Group: Documentation/HTML %description devel-doc -Package, Patch, Pattern, and Product Management - developers files +Developer documentation for libzypp. %prep %setup -q @@ -197,8 +212,8 @@ Package, Patch, Pattern, and Product Management - developers files %build mkdir build cd build -export CFLAGS="$RPM_OPT_FLAGS" -export CXXFLAGS="$RPM_OPT_FLAGS" +export CFLAGS="%{optflags}" +export CXXFLAGS="%{optflags}" unset EXTRA_CMAKE_OPTIONS # No libproxy on SLE11 %if 0%{?suse_version} == 1110 @@ -218,46 +233,45 @@ make -C po %{?_smp_mflags} translations make -C tests %{?_smp_mflags} %install -rm -rf "$RPM_BUILD_ROOT" cd build -make install DESTDIR=$RPM_BUILD_ROOT -make -C doc/autodoc install DESTDIR=$RPM_BUILD_ROOT +%make_install +%make_install -C doc/autodoc %if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 600 -ln -s %{_sysconfdir}/yum.repos.d $RPM_BUILD_ROOT%{_sysconfdir}/zypp/repos.d +ln -s %{_sysconfdir}/yum.repos.d %{buildroot}/%{_sysconfdir}/zypp/repos.d %else -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/repos.d +mkdir -p %{buildroot}/%{_sysconfdir}/zypp/repos.d %endif -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/services.d -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/systemCheck.d -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/vars.d -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/vendors.d -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/multiversion.d -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/needreboot.d -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/credentials.d -mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp -mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins -mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/appdata -mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/commit -mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/services -mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/system -mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/urlresolver -mkdir -p $RPM_BUILD_ROOT%{_var}/lib/zypp -mkdir -p $RPM_BUILD_ROOT%{_var}/log/zypp -mkdir -p $RPM_BUILD_ROOT%{_var}/cache/zypp +mkdir -p %{buildroot}/%{_sysconfdir}/zypp/services.d +mkdir -p %{buildroot}/%{_sysconfdir}/zypp/systemCheck.d +mkdir -p %{buildroot}/%{_sysconfdir}/zypp/vars.d +mkdir -p %{buildroot}/%{_sysconfdir}/zypp/vendors.d +mkdir -p %{buildroot}/%{_sysconfdir}/zypp/multiversion.d +mkdir -p %{buildroot}/%{_sysconfdir}/zypp/needreboot.d +mkdir -p %{buildroot}/%{_sysconfdir}/zypp/credentials.d +mkdir -p %{buildroot}/%{_prefix}/lib/zypp +mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins +mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins/appdata +mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins/commit +mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins/services +mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins/system +mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins/urlresolver +mkdir -p %{buildroot}/%{_var}/lib/zypp +mkdir -p %{buildroot}/%{_var}/log/zypp +mkdir -p %{buildroot}/%{_var}/cache/zypp # Default to 'solver.dupAllowVendorChange = false' on TW and post SLE12 %if 0%{?suse_version} >= 1330 || "%{distribution}" == "openSUSE Tumbleweed" sed -i "s|# solver.dupAllowVendorChange = true|solver.dupAllowVendorChange = false|g" %{buildroot}%{_sysconfdir}/zypp/zypp.conf %endif -make -C po install DESTDIR=$RPM_BUILD_ROOT +%make_install -C po # Create filelist with translations cd .. %{find_lang} zypp %check pushd build/tests -LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}:${LD_LIBRARY_PATH} ctest . +LD_LIBRARY_PATH="%{buildroot}/%{_libdir}:$LD_LIBRARY_PATH" ctest . popd %post @@ -326,9 +340,6 @@ fi %postun -p /sbin/ldconfig -%clean -rm -rf "$RPM_BUILD_ROOT" - %files -f zypp.lang %defattr(-,root,root) %if 0%{?suse_version} >= 1500