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
|
Source0: RPM-GPG-KEY-ELevate
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%if 0%{?centos} >= 7
|
|
||||||
Requires(post): systemd
|
|
||||||
Requires(preun): systemd
|
|
||||||
Requires(postun): systemd
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Provides: elevate-release = 1
|
Provides: elevate-release = 1
|
||||||
|
|
||||||
%description
|
%description
|
||||||
yum configuration for ELevate project packages from the AlmaLinux Migration SIG.
|
yum configuration for ELevate project packages from the AlmaLinux Migration SIG.
|
||||||
%prep
|
|
||||||
|
|
||||||
|
%prep
|
||||||
cat <<EOF > ELevate.repo
|
cat <<EOF > ELevate.repo
|
||||||
# ELevate project repo for el%{rhel}
|
# 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 %{SOURCE0} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-ELevate
|
||||||
install -D -m 644 ELevate.repo %{buildroot}%{_sysconfdir}/yum.repos.d/ELevate.repo
|
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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-ELevate
|
%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-ELevate
|
||||||
|
Loading…
Reference in New Issue
Block a user