Move %files section lower down

Usually, that section lives after `%build` and `%install`. This is
already the case for the other subpackages, but not the main one.
This commit is contained in:
Jonathan Lebon 2022-05-02 13:09:52 -04:00
parent 80e41146b2
commit 07c2c3289f

View File

@ -77,11 +77,6 @@ Obsoletes: coreos-installer-dracut < 0.0.1
%description -n %{crate} %{_description} %description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE
%doc README.md
%{_bindir}/coreos-installer
%prep %prep
%autosetup -n %{crate}-%{version} -p1 -a 2 %autosetup -n %{crate}-%{version} -p1 -a 2
%if 0%{?rhel} && !0%{?eln} %if 0%{?rhel} && !0%{?eln}
@ -180,6 +175,11 @@ from the initramfs.
%{dracutlibdir}/modules.d/51coreos-installer %{dracutlibdir}/modules.d/51coreos-installer
%endif %endif
%files -n %{crate}
%license LICENSE
%doc README.md
%{_bindir}/coreos-installer
%if %{with check} %if %{with check}
%check %check
%if 0%{?rhel} && !0%{?eln} %if 0%{?rhel} && !0%{?eln}