Blob Blame History Raw
%global debug_package %{nil}
%global dracutlibdir %{_prefix}/lib/dracut

%global provider        github
%global provider_tld    com
%global project         dustymabe
%global repo            bootengine
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path     %{provider_prefix}
%global commit          bf3b454db89bcff82d01b472786821bd458d3593
%global shortcommit     %(c=%{commit}; echo ${c:0:7})

Name:           ignition-dracut
Version:        0
Release:        0.1.git%{shortcommit}%{?dist}
Summary:        Dracut modules for ignition

License:        BSD
URL:            https://%{provider_prefix}
Source0:        https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz

Requires: ignition
Requires: dracut
Requires: dracut-network

BuildArchitectures: noarch

Dracut modules for ignition to enable ignition services to run in the
initramfs on boot.

%setup -q -n %{repo}-%{commit}


# dracut modules
install -d -p %{buildroot}/%{dracutlibdir}/modules.d
rm ./dracut/README.txt
cp -r ./dracut/* %{buildroot}/%{dracutlibdir}/modules.d/

%license LICENSE

* Thu Jun 21 2018 Dusty Mabe <> - 0-0.1.gitbf3b454
- First package for Fedora