parent
e4630b1c84
commit
4384491b71
@ -1,6 +1,9 @@
|
||||
%global __python /usr/bin/python3
|
||||
%global scl gcc-toolset-13
|
||||
%scl_package %scl
|
||||
%global scl_prefix gcc-toolset-13-
|
||||
%global scl_name %scl
|
||||
BuildRequires: scl-utils-build
|
||||
%{?scl_package:%scl_package %scl}
|
||||
|
||||
Summary: Package that installs %scl
|
||||
Name: %scl_name
|
||||
@ -22,7 +25,6 @@ Requires: %{scl_prefix}annobin-plugin-gcc
|
||||
Obsoletes: %{name} < %{version}-%{release}
|
||||
Obsoletes: %{scl_prefix}dockerfiles < %{version}-%{release}
|
||||
|
||||
BuildRequires: scl-utils-build >= 20120927-11
|
||||
BuildRequires: iso-codes
|
||||
BuildRequires: help2man
|
||||
%if 0%{?rhel} >= 8
|
||||
@ -40,8 +42,8 @@ Group: Applications/File
|
||||
Requires: scl-utils >= 20120927-11
|
||||
Obsoletes: %{name}-runtime < %{version}-%{release}
|
||||
%if 0%{?rhel} >= 7
|
||||
Requires(post): %{_root_sbindir}/semanage %{_root_sbindir}/restorecon
|
||||
Requires(postun): %{_root_sbindir}/semanage %{_root_sbindir}/restorecon
|
||||
%{?scl_package:Requires(post): %{_root_sbindir}/semanage %{_root_sbindir}/restorecon}
|
||||
%{?scl_package:Requires(postun): %{_root_sbindir}/semanage %{_root_sbindir}/restorecon}
|
||||
%else
|
||||
Requires(post): libselinux policycoreutils-python
|
||||
Requires(postun): libselinux policycoreutils-python
|
||||
|
Loading…
Reference in New Issue
Block a user