diff --git a/sources b/sources index e96c468..dceffb7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zypper-1.14.94.tar.gz) = 579f91def0c0e79ba81fe73341302ba1a8942a9878d2305ca11fb0a7747936612ed6eb91c68e6a0199687fd06ac0b9dc2fbae5dd9b895e484aa204b2b519dc2e +SHA512 (zypper-1.14.59.tar.gz) = 301155c438eb1726e5225c13a751d5d8aee3000cba86921905775519bd57c7909b0640255e20219b8e66527d16f4a1d4902197e77dabc1dcb0a4275b91016528 diff --git a/zypper.spec b/zypper.spec index 472978a..7319afc 100644 --- a/zypper.spec +++ b/zypper.spec @@ -1,21 +1,20 @@ # Force out of source build %undefine __cmake_in_source_build -%global min_libzypp_ver 17.37.12 +%global min_libzypp_ver 17.31.7 Name: zypper -Version: 1.14.94 -Release: 2%{?dist} +Version: 1.14.59 +Release: 1%{?dist} Summary: Command line package manager using libzypp -# Automatically converted from old format: GPLv2+ - review is highly recommended. -License: GPL-2.0-or-later +License: GPLv2+ URL: http://en.opensuse.org/Portal:Zypper Source0: https://github.com/openSUSE/zypper/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: %{_bindir}/asciidoctor BuildRequires: %{_bindir}/xsltproc -BuildRequires: cmake >= 3.5 +BuildRequires: cmake >= 3.1 BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: perl-generators @@ -27,6 +26,7 @@ BuildRequires: readline-devel BuildRequires: libxml2-devel BuildRequires: libzypp-devel >= %{min_libzypp_ver} Requires: libzypp%{?_isa} >= %{min_libzypp_ver} +Requires: procps # Blech, apparently we don't want bash-completion always... Cf. rhbz#1652183 Recommends: bash-completion @@ -40,7 +40,6 @@ Provides: zypper(oldpackage) Provides: zypper(updatestack-only) Provides: zypper(auto-agree-with-product-licenses) Provides: zypper(purge-kernels) -Provides: zypper(include-all-archs) %description @@ -107,11 +106,10 @@ ln -sf zypp-aptitude %{buildroot}%{_bindir}/zypp-apt-get rm %{buildroot}%{_bindir}/apt ln -sf zypp-aptitude %{buildroot}%{_bindir}/zypp-apt -%if "%{_sbindir}" != "/usr/sbin" -# If sbin-bin merge, move everything accordingly -mv %{buildroot}%{_prefix}/sbin/* %{buildroot}%{_sbindir} -rmdir %{buildroot}%{_prefix}/sbin -%endif +# Move the bash completion file +mkdir -p %{buildroot}%{_datadir}/bash-completion/completions +mv %{buildroot}%{_sysconfdir}/bash_completion.d/zypper.sh %{buildroot}%{_datadir}/bash-completion/completions/zypper +rm -rf %{buildroot}%{_sysconfdir}/bash_completion.d/ # Remove conflicting man page and rename needs-restarting rm %{buildroot}%{_mandir}/man1/needs-restarting.1* @@ -156,42 +154,6 @@ popd %changelog -* Fri Jul 17 2026 Fedora Release Engineering - 1.14.94-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Fri Jan 16 2026 Neal Gompa - 1.14.94-1 -- Update to 1.14.94 - -* Fri Jul 25 2025 Fedora Release Engineering - 1.14.88-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Wed Mar 19 2025 Neal Gompa - 1.14.88-1 -- Rebase to 1.14.88 - -* Sun Jan 19 2025 Fedora Release Engineering - 1.14.73-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Fri Jul 26 2024 Miroslav Suchý - 1.14.73-3 -- convert license to SPDX - -* Sat Jul 20 2024 Fedora Release Engineering - 1.14.73-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Wed Jun 05 2024 Neal Gompa - 1.14.73-1 -- Update to 1.14.73 - -* Sun Apr 14 2024 Neal Gompa - 1.14.68-2 -- Rebuild for libzypp-tui soname fix - -* Mon Mar 04 2024 Neal Gompa - 1.14.68-1 -- Update to 1.14.68 - -* Sat Jan 27 2024 Fedora Release Engineering - 1.14.59-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Jul 22 2023 Fedora Release Engineering - 1.14.59-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - * Thu Mar 09 2023 Neal Gompa - 1.14.59-1 - Update to 1.14.59