Conditionalize Fedora-specific configuration
This commit is contained in:
parent
28bc9afe30
commit
34ba035802
@ -1,5 +1,11 @@
|
|||||||
# Generated by go2rpm 1.3
|
# Generated by go2rpm 1.3
|
||||||
|
%if 0%{?fedora}
|
||||||
%bcond_without check
|
%bcond_without check
|
||||||
|
%else
|
||||||
|
# %gocheck isn't currently provided on CentOS/RHEL
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1982298
|
||||||
|
%bcond_with check
|
||||||
|
%endif
|
||||||
|
|
||||||
# https://github.com/coreos/ignition
|
# https://github.com/coreos/ignition
|
||||||
%global goipath github.com/coreos/ignition
|
%global goipath github.com/coreos/ignition
|
||||||
@ -228,7 +234,11 @@ Ignition project's Github releases page.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%if 0%{?fedora}
|
||||||
%goprep -k
|
%goprep -k
|
||||||
|
%else
|
||||||
|
%forgeautosetup -p1
|
||||||
|
%endif
|
||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -264,8 +274,8 @@ cp -r dracut/* %{buildroot}/%{dracutlibdir}/modules.d/
|
|||||||
install -d -p %{buildroot}%{_bindir}
|
install -d -p %{buildroot}%{_bindir}
|
||||||
install -p -m 0755 ./ignition-validate %{buildroot}%{_bindir}
|
install -p -m 0755 ./ignition-validate %{buildroot}%{_bindir}
|
||||||
|
|
||||||
install -d -p %{buildroot}%{_datadir}/ignition
|
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
|
install -d -p %{buildroot}%{_datadir}/ignition
|
||||||
install -p -m 0644 ./ignition-validate-x86_64-apple-darwin %{buildroot}%{_datadir}/ignition
|
install -p -m 0644 ./ignition-validate-x86_64-apple-darwin %{buildroot}%{_datadir}/ignition
|
||||||
install -p -m 0644 ./ignition-validate-x86_64-pc-windows-gnu.exe %{buildroot}%{_datadir}/ignition
|
install -p -m 0644 ./ignition-validate-x86_64-pc-windows-gnu.exe %{buildroot}%{_datadir}/ignition
|
||||||
%endif
|
%endif
|
||||||
@ -303,6 +313,7 @@ install -p -m 0755 ./ignition %{buildroot}/%{dracutlibdir}/modules.d/30ignition
|
|||||||
- Disable file fragment writing logic for SSH authorized_keys on RHEL/CentOS
|
- Disable file fragment writing logic for SSH authorized_keys on RHEL/CentOS
|
||||||
- Disable compressdwarf flag to avoid build failures on RHEL/CentOS
|
- Disable compressdwarf flag to avoid build failures on RHEL/CentOS
|
||||||
- Disable cross-building of Ignition-validate on RHEL/CentOS
|
- Disable cross-building of Ignition-validate on RHEL/CentOS
|
||||||
|
- Conditionalize Fedora-specific configuration
|
||||||
|
|
||||||
* Fri Aug 6 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 2.12.0-1
|
* Fri Aug 6 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 2.12.0-1
|
||||||
- New release
|
- New release
|
||||||
|
Loading…
Reference in New Issue
Block a user