SHA256
1
0
forked from pool/createrepo_c

Accepting request 875375 from home:M0ses:tmp

- removed %is_opensuse (CtLG)
- disabled drpm for SLE/Leap 15.3

OBS-URL: https://build.opensuse.org/request/show/875375
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/createrepo_c?expand=0&rev=56
This commit is contained in:
Neal Gompa 2021-02-26 12:40:22 +00:00 committed by Git OBS Bridge
parent 1c0d494961
commit 83cbad7655
2 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 26 07:16:58 UTC 2021 - Frank Schreiner <FSchreiner@suse.com>
- removed %is_opensuse (CtLG)
- disabled drpm for SLE/Leap 15.3
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 7 01:12:50 UTC 2020 - Neal Gompa <ngompa13@gmail.com> Tue Jul 7 01:12:50 UTC 2020 - Neal Gompa <ngompa13@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package createrepo_c # spec file for package createrepo_c
# #
# Copyright (c) 2019 SUSE LLC # Copyright (c) 2021 SUSE LLC
# Copyright (c) 2020 Neal Gompa <ngompa13@gmail.com>. # Copyright (c) 2020 Neal Gompa <ngompa13@gmail.com>.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -17,7 +17,7 @@
# #
%if 0%{?is_opensuse} || 0%{?suse_version} >= 1330 %if 0%{?suse_version} >= 1330
# Enable Python bindings on openSUSE # Enable Python bindings on openSUSE
%bcond_without python3 %bcond_without python3
%bcond_without tests %bcond_without tests
@ -26,14 +26,14 @@
%bcond_with tests %bcond_with tests
%endif %endif
%if (0%{?is_opensuse} && 0%{?sle_version} >= 150200) || 0%{?suse_version} >= 1550 %if 0%{?sle_version} >= 160000 || 0%{?suse_version} >= 1550
# Enable enhanced DeltaRPM support # Enable enhanced DeltaRPM support
%bcond_without drpm %bcond_without drpm
%else %else
%bcond_with drpm %bcond_with drpm
%endif %endif
%if (0%{?is_opensuse} && 0%{?sle_version} >= 150100) || 0%{?suse_version} >= 1550 %if 0%{?sle_version} >= 150100 || 0%{?suse_version} >= 1550
%bcond_without zchunk %bcond_without zchunk
%bcond_without libmodulemd %bcond_without libmodulemd
%else %else
@ -65,7 +65,7 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
%if %{with python3} %if %{with python3}
BuildRequires: python3-devel BuildRequires: python3-devel
%endif %endif
%if 0%{?is_opensuse} || 0%{?suse_version} >= 1330 %if 0%{?suse_version} >= 1330
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%endif %endif
BuildRequires: bash-completion BuildRequires: bash-completion
@ -110,7 +110,7 @@ Obsoletes: createrepo < 0.11.0
Provides: createrepo = %{version}-%{release} Provides: createrepo = %{version}-%{release}
%else %else
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun):update-alternatives
%endif %endif
Provides: createrepo-implementation Provides: createrepo-implementation
@ -205,6 +205,7 @@ if [ -e %{_sysconfdir}/alternatives/createrepo ]; then
update-alternatives --remove createrepo %{_bindir}/createrepo_c update-alternatives --remove createrepo %{_bindir}/createrepo_c
fi fi
%else %else
%post %post
update-alternatives --install \ update-alternatives --install \
%{_bindir}/createrepo createrepo %{_bindir}/createrepo_c 20 \ %{_bindir}/createrepo createrepo %{_bindir}/createrepo_c 20 \