Blob Blame History Raw
%global         pypi_name osbuild

Name:           %{pypi_name}
Version:	2
Release:	1%{?dist}
License:        ASL 2.0


BuildArch:      noarch
Summary:        A build system for OS images

BuildRequires:  python3-devel

Requires: bash
Requires: coreutils
Requires: dnf
Requires: e2fsprogs
Requires: glibc
Requires: policycoreutils
Requires: qemu-img
Requires: systemd
Requires: systemd-container
Requires: tar
Requires: util-linux
Requires: python3-%{pypi_name}


A build system for OS images

%package -n     python3-%{pypi_name}
Summary:        %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}

%description -n     python3-%{pypi_name}
A build system for OS images

%autosetup -n %{name}-%{version}



mkdir -p %{buildroot}%{_libexecdir}/%{pypi_name}/stages
install -p -m 0755 $(find stages -type f) %{buildroot}%{_libexecdir}/%{pypi_name}/stages/

mkdir -p %{buildroot}%{_libexecdir}/%{pypi_name}/assemblers
install -p -m 0755 $(find assemblers -type f) %{buildroot}%{_libexecdir}/%{pypi_name}/assemblers/

install -p -m 0755 osbuild-run %{buildroot}%{_libexecdir}/%{pypi_name}/

exit 0
# We have some integration tests, but those require running a VM, so that would
# be an overkill for RPM check script.

%license LICENSE

%files -n     python3-%{pypi_name}
%license LICENSE

* Wed Sep 18 2019 Martin Sehnoutka <> - 2-1
- new upstream release: 2

* Mon Aug 19 2019 Miro HronĨok <> - 1-3
- Rebuilt for Python 3.8

* Mon Jul 29 2019 Martin Sehnoutka <> - 1-2
- update upstream URL to the new Github organization

* Wed Jul 17 2019 Martin Sehnoutka <> - 1-1
- Initial package