ca2a651619
Having the "jigdo set" in repodata makes it so we can parallel download the jigdo RPM with the set. However for now, I kept the jigdo set in the jigdoRPM, since that way it'll be covered by the signature. Also, this changes the way we inject metadata to use a magic comment string, since trying to pass a gigantic macro to `rpmbuild` via its argv didn't work out so well (it looks like rpmbuild eats newlines). This approach is more robust. Closes: https://github.com/projectatomic/rpm-ostree/issues/1132 Closes: #1140 Approved by: jlebon
25 lines
600 B
RPMSpec
25 lines
600 B
RPMSpec
# The canonical version of this is in https://pagure.io/fedora-atomic
|
|
# Suppress most build root processing we are just carrying
|
|
# binary data.
|
|
%global __os_install_post /usr/lib/rpm/brp-compress %{nil}
|
|
Name: fedora-atomic-host
|
|
Version: %{ostree_version}
|
|
Release: 1%{?dist}
|
|
Summary: Image (rpm-ostree jigdo) for Fedora Atomic Host
|
|
License: MIT
|
|
#@@@rpmostree_jigdo_meta@@@
|
|
|
|
%description
|
|
%{summary}
|
|
|
|
%prep
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_prefix}/lib/ostree-jigdo/%{name}
|
|
for x in *; do mv ${x} %{buildroot}%{_prefix}/lib/ostree-jigdo/%{name}; done
|
|
|
|
%files
|
|
%{_prefix}/lib/ostree-jigdo/%{name}
|