|
|
5774441 |
Name: diskimage-builder
|
|
|
5774441 |
Summary: Image building tools for OpenStack
|
|
|
302531d |
Version: 0.1.33
|
|
|
aa2702a |
Release: 3%{?dist}
|
|
|
5774441 |
License: ASL 2.0
|
|
|
5774441 |
Group: System Environment/Base
|
|
|
5774441 |
URL: https://launchpad.net/diskimage-builder
|
|
|
b8ad3df |
Source0: http://tarballs.openstack.org/diskimage-builder/%{name}-%{version}.tar.gz
|
|
|
5774441 |
|
|
|
50810b6 |
Patch0001: 0001-Check-for-epel-before-installing-it.patch
|
|
|
50810b6 |
Patch0002: 0002-Move-install-bin-from-rpm-distro-to-yum.patch
|
|
|
50810b6 |
|
|
|
5774441 |
BuildArch: noarch
|
|
|
5774441 |
BuildRequires: python2-devel
|
|
|
5774441 |
BuildRequires: python-setuptools
|
|
|
b8ad3df |
BuildRequires: python-d2to1
|
|
|
b8ad3df |
BuildRequires: python-pbr
|
|
|
5774441 |
|
|
|
5774441 |
Requires: kpartx
|
|
|
5774441 |
Requires: qemu-img
|
|
|
5774441 |
Requires: busybox
|
|
|
b8ad3df |
Requires: curl
|
|
|
daab1d1 |
Requires: python-argparse
|
|
|
daab1d1 |
Requires: python-babel
|
|
|
64620ef |
Requires: tar
|
|
|
12ae458 |
Requires: dib-utils
|
|
|
5774441 |
|
|
|
5774441 |
%prep
|
|
|
b8ad3df |
%setup -q -n %{name}-%{version}
|
|
|
5774441 |
|
|
|
50810b6 |
%patch0001 -p1
|
|
|
50810b6 |
%patch0002 -p1
|
|
|
50810b6 |
|
|
|
5774441 |
%build
|
|
|
5774441 |
%{__python} setup.py build
|
|
|
5774441 |
|
|
|
5774441 |
%install
|
|
|
5774441 |
%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
|
|
|
5774441 |
|
|
|
5774441 |
mkdir -p %{buildroot}%{_datadir}/%{name}/lib
|
|
|
5774441 |
mkdir -p %{buildroot}%{_datadir}/%{name}/elements
|
|
|
5774441 |
|
|
|
b8ad3df |
install -p -D -m 644 lib/* %{buildroot}%{_datadir}/%{name}/lib
|
|
|
b8ad3df |
cp -vr elements/ %{buildroot}%{_datadir}/%{name}
|
|
|
5774441 |
|
|
|
38c1271 |
# explicitly remove config-applier since it does a pip install
|
|
|
38c1271 |
rm -rf %{buildroot}%{_datadir}/%{name}/elements/config-applier
|
|
|
38c1271 |
|
|
|
12ae458 |
# This file is being split out of diskimage-builder, so remove it to
|
|
|
12ae458 |
# avoid conflicts with the new package.
|
|
|
12ae458 |
rm -f %{buildroot}%{_bindir}/dib-run-parts
|
|
|
12ae458 |
|
|
|
aa2702a |
# Patch 0002-Move-install-bin-from-rpm-distro-to-yum.patch
|
|
|
aa2702a |
# creates a new file, but the perms are not set correctly when patch runs
|
|
|
aa2702a |
chmod +x %{buildroot}/%{_datadir}/%{name}/elements/yum/pre-install.d/01-yum-install-bin
|
|
|
aa2702a |
|
|
|
5774441 |
%description
|
|
|
5774441 |
Components of TripleO that are responsible for building disk images.
|
|
|
5774441 |
|
|
|
5774441 |
%files
|
|
|
5774441 |
%doc LICENSE
|
|
|
5774441 |
%doc docs/ci.md
|
|
|
5774441 |
%{_bindir}/*
|
|
|
5774441 |
%{python_sitelib}/diskimage_builder*
|
|
|
5774441 |
%{_datadir}/%{name}/lib
|
|
|
5774441 |
%{_datadir}/%{name}/elements
|
|
|
5774441 |
|
|
|
5774441 |
%changelog
|
|
|
aa2702a |
* Fri Oct 17 2014 James Slagle <jslagle@redhat.com> 0.1.33-3
|
|
|
aa2702a |
- Make sure file added by patch is +x
|
|
|
aa2702a |
|
|
|
50810b6 |
* Wed Oct 15 2014 James Slagle <jslagle@redhat.com> 0.1.33-2
|
|
|
50810b6 |
- Move install bin from rpm-distro to yum
|
|
|
50810b6 |
- Check for epel before installing it
|
|
|
50810b6 |
|
|
|
302531d |
* Wed Oct 15 2014 James Slagle <jslagle@redhat.com> 0.1.33-1
|
|
|
302531d |
- Update to upstream 0.1.33
|
|
|
302531d |
|
|
|
261d3cc |
* Wed Oct 01 2014 James Slagle <jslagle@redhat.com> 0.1.32-1
|
|
|
261d3cc |
- Update to upstream 0.1.32
|
|
|
261d3cc |
|
|
|
7574428 |
* Mon Sep 29 2014 James Slagle <jslagle@redhat.com> 0.1.31-1
|
|
|
7574428 |
- Update to upstream 0.1.31
|
|
|
7574428 |
|
|
|
79a4950 |
* Mon Sep 15 2014 James Slagle <jslagle@redhat.com> 0.1.30-1
|
|
|
79a4950 |
- Update to upstream 0.1.30
|
|
|
79a4950 |
|
|
|
b448637 |
* Thu Sep 11 2014 James Slagle <jslagle@redhat.com> - 0.1.15-4
|
|
|
b448637 |
- Switch to rdopkg
|
|
|
b448637 |
|
|
|
9a85f52 |
* Wed Jul 02 2014 James Slagle <jslagle@redhat.com> - 0.1.15-3
|
|
|
9a85f52 |
- Add patch Remove-fixfiles-from-rpm-distro-finalize.patch
|
|
|
9a85f52 |
|
|
|
c2f1c38 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.15-2
|
|
|
c2f1c38 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
c2f1c38 |
|
|
|
12ae458 |
* Wed Apr 30 2014 Ben Nemec <bnemec@redhat.com> - 0.1.15-1
|
|
|
12ae458 |
- Update to 0.1.15
|
|
|
12ae458 |
- Remove dib-run-parts from this package
|
|
|
12ae458 |
- Add dependency on dib-utils (the new home of dib-run-parts)
|
|
|
12ae458 |
|
|
|
b306c2b |
* Wed Apr 16 2014 Ben Nemec <bnemec@redhat.com> - 0.1.13-1
|
|
|
b306c2b |
- Update to 0.1.13
|
|
|
b306c2b |
- Remove mariadb-rdo-package patch that merged upstream
|
|
|
b306c2b |
|
|
|
1405839 |
* Wed Mar 26 2014 Jeff Peeler <jpeeler@redhat.com> 0.1.9-1
|
|
|
1405839 |
- rebase to 0.1.9
|
|
|
1405839 |
|
|
|
64620ef |
* Tue Feb 18 2014 Jeff Peeler <jpeeler@redhat.com> 0.1.5-3
|
|
|
64620ef |
- add tar requires (rhbz#1066680)
|
|
|
64620ef |
|
|
|
daab1d1 |
* Mon Jan 27 2014 Jeff Peeler <jpeeler@redhat.com> 0.1.5-2
|
|
|
daab1d1 |
- add new requires: python-argparse, python-babel
|
|
|
daab1d1 |
|
|
|
0cb5cca |
* Mon Jan 27 2014 Jeff Peeler <jpeeler@redhat.com> 0.1.5-1
|
|
|
0cb5cca |
- rebase to 0.1.5 + patch to fix RHEL 6.5 boot (rhbz#1057217)
|
|
|
0cb5cca |
|
|
|
dd40530 |
* Wed Oct 9 2013 Jeff Peeler <jpeeler@redhat.com> 0.0.5-1
|
|
|
dd40530 |
- rebase to 0.0.5
|
|
|
dd40530 |
|
|
|
9a56d25 |
* Mon Sep 16 2013 Jeff Peeler <jpeeler@redhat.com> 0.0.1-7
|
|
|
9a56d25 |
- add patch to allow proper Fedora image creation when using vm element
|
|
|
9a56d25 |
|
|
|
561b545 |
* Fri Sep 13 2013 Jeff Peeler <jpeeler@redhat.com> 0.0.1-6
|
|
|
561b545 |
- add patches to ccd7b86b606e678bf7281baff05c420b089c5d8f (fixes kpartx issue)
|
|
|
561b545 |
|
|
|
b8ad3df |
* Thu Sep 5 2013 Jeff Peeler <jpeeler@redhat.com> 0.0.1-5
|
|
|
b8ad3df |
- rebase to a495079695e914fa7ec93292497bfc2471f41510
|
|
|
b8ad3df |
- Source moved from stackforge to openstack
|
|
|
b8ad3df |
- added curl requires
|
|
|
b8ad3df |
- switched to pbr
|
|
|
b8ad3df |
- remove all sudo related files as they are no longer used
|
|
|
b8ad3df |
|
|
|
38c1271 |
* Tue Aug 13 2013 Jeff Peeler <jpeeler@redhat.com> 0.0.1-4
|
|
|
38c1271 |
- removed config-applier element
|
|
|
38c1271 |
|
|
|
029cc5d |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-3
|
|
|
029cc5d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
029cc5d |
|
|
|
5774441 |
* Wed Jul 31 2013 Jeff Peeler <jpeeler@redhat.com> 0.0.1-2
|
|
|
5774441 |
- rebased and dropped patches
|
|
|
5774441 |
|
|
|
5774441 |
* Mon Jul 29 2013 Jeff Peeler <jpeeler@redhat.com> 0.0.1-1
|
|
|
5774441 |
- initial package straight from github commit sha
|