Accepting request 652440 from zypp:Head
Softwarestack update OBS-URL: https://build.opensuse.org/request/show/652440 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libzypp?expand=0&rev=408
This commit is contained in:
commit
665075f79c
3
libzypp-17.10.1.tar.bz2
Normal file
3
libzypp-17.10.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0f2841fa7ae2d3704d3eb4e8ef8119f044d8fc83ac5a2680a2049a1940cafb20
|
||||||
|
size 4718691
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0b21b4a38113c0d04a5df3f38934d0575caa90db6c85393087d07d29820cd070
|
|
||||||
size 4711973
|
|
@ -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
|
Wed Nov 14 11:48:35 CET 2018 - ma@suse.de
|
||||||
|
|
||||||
|
83
libzypp.spec
83
libzypp.spec
@ -17,10 +17,10 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libzypp
|
Name: libzypp
|
||||||
Version: 17.9.0
|
Version: 17.10.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://github.com/openSUSE/libzypp
|
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
|
License: GPL-2.0-or-later
|
||||||
Group: System/Packages
|
Group: System/Packages
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -134,10 +134,24 @@ BuildRequires: libxslt-tools
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%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
|
%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++
|
Group: Development/Libraries/C and C++
|
||||||
Provides: yast2-packagemanager-devel
|
Provides: yast2-packagemanager-devel
|
||||||
Obsoletes: yast2-packagemanager-devel
|
Obsoletes: yast2-packagemanager-devel
|
||||||
@ -182,14 +196,15 @@ Requires: libsolv-devel
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description devel
|
%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
|
%package devel-doc
|
||||||
Summary: Package, Patch, Pattern, and Product Management - developers files
|
Summary: Developer documentation for libzypp
|
||||||
Group: Documentation/HTML
|
Group: Documentation/HTML
|
||||||
|
|
||||||
%description devel-doc
|
%description devel-doc
|
||||||
Package, Patch, Pattern, and Product Management - developers files
|
Developer documentation for libzypp.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -197,8 +212,8 @@ Package, Patch, Pattern, and Product Management - developers files
|
|||||||
%build
|
%build
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="%{optflags}"
|
||||||
export CXXFLAGS="$RPM_OPT_FLAGS"
|
export CXXFLAGS="%{optflags}"
|
||||||
unset EXTRA_CMAKE_OPTIONS
|
unset EXTRA_CMAKE_OPTIONS
|
||||||
# No libproxy on SLE11
|
# No libproxy on SLE11
|
||||||
%if 0%{?suse_version} == 1110
|
%if 0%{?suse_version} == 1110
|
||||||
@ -218,46 +233,45 @@ make -C po %{?_smp_mflags} translations
|
|||||||
make -C tests %{?_smp_mflags}
|
make -C tests %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf "$RPM_BUILD_ROOT"
|
|
||||||
cd build
|
cd build
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%make_install
|
||||||
make -C doc/autodoc install DESTDIR=$RPM_BUILD_ROOT
|
%make_install -C doc/autodoc
|
||||||
%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 600
|
%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
|
%else
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/repos.d
|
mkdir -p %{buildroot}/%{_sysconfdir}/zypp/repos.d
|
||||||
%endif
|
%endif
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/services.d
|
mkdir -p %{buildroot}/%{_sysconfdir}/zypp/services.d
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/systemCheck.d
|
mkdir -p %{buildroot}/%{_sysconfdir}/zypp/systemCheck.d
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/vars.d
|
mkdir -p %{buildroot}/%{_sysconfdir}/zypp/vars.d
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/vendors.d
|
mkdir -p %{buildroot}/%{_sysconfdir}/zypp/vendors.d
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/multiversion.d
|
mkdir -p %{buildroot}/%{_sysconfdir}/zypp/multiversion.d
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/needreboot.d
|
mkdir -p %{buildroot}/%{_sysconfdir}/zypp/needreboot.d
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/credentials.d
|
mkdir -p %{buildroot}/%{_sysconfdir}/zypp/credentials.d
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp
|
mkdir -p %{buildroot}/%{_prefix}/lib/zypp
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins
|
mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/appdata
|
mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins/appdata
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/commit
|
mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins/commit
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/services
|
mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins/services
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/system
|
mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins/system
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/urlresolver
|
mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins/urlresolver
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_var}/lib/zypp
|
mkdir -p %{buildroot}/%{_var}/lib/zypp
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_var}/log/zypp
|
mkdir -p %{buildroot}/%{_var}/log/zypp
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_var}/cache/zypp
|
mkdir -p %{buildroot}/%{_var}/cache/zypp
|
||||||
|
|
||||||
# Default to 'solver.dupAllowVendorChange = false' on TW and post SLE12
|
# Default to 'solver.dupAllowVendorChange = false' on TW and post SLE12
|
||||||
%if 0%{?suse_version} >= 1330 || "%{distribution}" == "openSUSE Tumbleweed"
|
%if 0%{?suse_version} >= 1330 || "%{distribution}" == "openSUSE Tumbleweed"
|
||||||
sed -i "s|# solver.dupAllowVendorChange = true|solver.dupAllowVendorChange = false|g" %{buildroot}%{_sysconfdir}/zypp/zypp.conf
|
sed -i "s|# solver.dupAllowVendorChange = true|solver.dupAllowVendorChange = false|g" %{buildroot}%{_sysconfdir}/zypp/zypp.conf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
make -C po install DESTDIR=$RPM_BUILD_ROOT
|
%make_install -C po
|
||||||
# Create filelist with translations
|
# Create filelist with translations
|
||||||
cd ..
|
cd ..
|
||||||
%{find_lang} zypp
|
%{find_lang} zypp
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd build/tests
|
pushd build/tests
|
||||||
LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}:${LD_LIBRARY_PATH} ctest .
|
LD_LIBRARY_PATH="%{buildroot}/%{_libdir}:$LD_LIBRARY_PATH" ctest .
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -326,9 +340,6 @@ fi
|
|||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf "$RPM_BUILD_ROOT"
|
|
||||||
|
|
||||||
%files -f zypp.lang
|
%files -f zypp.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%if 0%{?suse_version} >= 1500
|
%if 0%{?suse_version} >= 1500
|
||||||
|
Loading…
Reference in New Issue
Block a user