spec: ship ostree specific files in sub-package
Ship the stages, assembler and source that are necessary to build images with OSTree support in the osbuild-ostree sub-package.
This commit is contained in:
parent
f60f4f22f8
commit
22110ffb68
1 changed files with 21 additions and 0 deletions
21
osbuild.spec
21
osbuild.spec
|
|
@ -53,6 +53,16 @@ Summary: %{summary}
|
|||
%description -n python3-%{pypi_name}
|
||||
A build system for OS images
|
||||
|
||||
%package ostree
|
||||
Summary: OSTree support
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: ostree
|
||||
Requires: rpm-ostree
|
||||
|
||||
%description ostree
|
||||
Contains the necessary stages, assembler and source
|
||||
to build OSTree based images.
|
||||
|
||||
%prep
|
||||
%forgesetup
|
||||
|
||||
|
|
@ -96,6 +106,11 @@ exit 0
|
|||
%{_mandir}/man1/%{name}.1*
|
||||
%{_mandir}/man5/%{name}-manifest.5*
|
||||
%{pkgdir}
|
||||
# the following files are in the ostree sub-package
|
||||
%exclude %{pkgdir}/assemblers/org.osbuild.ostree.commit
|
||||
%exclude %{pkgdir}/sources/org.osbuild.ostree
|
||||
%exclude %{pkgdir}/stages/org.osbuild.ostree
|
||||
%exclude %{pkgdir}/stages/org.osbuild.rpm-ostree
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE
|
||||
|
|
@ -103,6 +118,12 @@ exit 0
|
|||
%{python3_sitelib}/%{pypi_name}-*.egg-info/
|
||||
%{python3_sitelib}/%{pypi_name}/
|
||||
|
||||
%files ostree
|
||||
%{pkgdir}/assemblers/org.osbuild.ostree.commit
|
||||
%{pkgdir}/sources/org.osbuild.ostree
|
||||
%{pkgdir}/stages/org.osbuild.ostree
|
||||
%{pkgdir}/stages/org.osbuild.rpm-ostree
|
||||
|
||||
%changelog
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1-3
|
||||
- Rebuilt for Python 3.8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue