Remove unnecessary rpm scripts
This commit is contained in:
parent
0e4e2878ae
commit
08b2126d25
@ -7,18 +7,12 @@ URL: https://wiki.almalinux.org/sigs/Migration
|
||||
Source0: RPM-GPG-KEY-ELevate
|
||||
BuildArch: noarch
|
||||
|
||||
%if 0%{?centos} >= 7
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
%endif
|
||||
|
||||
Provides: elevate-release = 1
|
||||
|
||||
%description
|
||||
yum configuration for ELevate project packages from the AlmaLinux Migration SIG.
|
||||
%prep
|
||||
|
||||
%prep
|
||||
cat <<EOF > ELevate.repo
|
||||
# ELevate project repo for el%{rhel}
|
||||
|
||||
@ -42,17 +36,6 @@ EOF
|
||||
install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-ELevate
|
||||
install -D -m 644 ELevate.repo %{buildroot}%{_sysconfdir}/yum.repos.d/ELevate.repo
|
||||
|
||||
%if 0%{?centos} >= 7
|
||||
%post
|
||||
%systemd_post
|
||||
|
||||
%preun
|
||||
%systemd_preun
|
||||
|
||||
%postun
|
||||
%systemd_postun
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-ELevate
|
||||
|
Loading…
Reference in New Issue
Block a user