[imagefactory/f16] import new upstream SRPM

Ian McLeod imcleod at fedoraproject.org
Mon Mar 12 14:25:24 UTC 2012


commit 6a6ad81fff91801ebe38dcf3536008831a5b3afd
Author: Ian McLeod <imcleod at redhat.com>
Date:   Mon Mar 12 09:25:04 2012 -0500

    import new upstream SRPM

 imagefactory.spec |   35 ++++++++++++++++++++---------------
 1 files changed, 20 insertions(+), 15 deletions(-)
---
diff --git a/imagefactory.spec b/imagefactory.spec
index 9e42e56..ed01ca3 100644
--- a/imagefactory.spec
+++ b/imagefactory.spec
@@ -1,6 +1,6 @@
 Summary: System image generation tool
 Name: imagefactory
-Version: 0.7.1
+Version: 1.1.1
 Release: 1%{?dist}
 Source0: http://repos.fedorapeople.org/repos/aeolus/imagefactory/%{version}/tarball/%{name}-%{version}.tar.gz
 License: ASL 2.0
@@ -9,11 +9,10 @@ URL: http://www.aeolusproject.org/imagefactory.html
 BuildArch: noarch
 Requires: oz >= 0.7.0
 Requires: euca2ools
-Requires: python-qmf
 Requires: python-pycurl
 Requires: python-libguestfs
 Requires: python-zope-interface
-Requires: python-boto
+Requires: python-boto >= 2.0
 Requires: libxml2-python
 Requires: python-httplib2
 Requires: python-argparse
@@ -23,6 +22,10 @@ Requires: VMDKstream
 Requires: python-suds >= 0.4.1
 Requires: python-paste-deploy
 Requires: python-oauth2
+Requires: qemu-img
+# We need this for dc-rhev-image
+# TODO: Remove this requirement when move pushing internal to the factory
+Requires: iwhd >= 1.2
 Requires(post): chkconfig
 Requires(preun): chkconfig
 # This is for /sbin/service
@@ -30,9 +33,9 @@ Requires(preun): initscripts
 BuildRequires: python-setuptools
 
 %description
-imagefactory is a daemon that listens for build requests via QMF.  When
-a build request is received, imagefactory will build the requested image
-for the requested target.
+imagefactory allows the creation of system images for multiple virtualization
+and cloud providers from a single template definition. See 
+http://aeolusproject.org/projects/imagefactory for more information.
 
 %package jeosconf-ec2-fedora
 Summary: Configuration for JEOS images for EC2
@@ -59,13 +62,16 @@ python setup.py build
 %install
 python setup.py install -O1 --root=%{buildroot} --skip-build
 
-mkdir -p %{buildroot}/%{_sysconfdir}/imagefactory/jeos_images
-mkdir -p %{buildroot}/%{_localstatedir}/lib/imagefactory/images
+%{__install} -d %{buildroot}/%{_sysconfdir}/imagefactory/jeos_images
+%{__install} -d %{buildroot}/%{_localstatedir}/lib/imagefactory/images
+%{__install} -d %{buildroot}/%{_sysconfdir}/logrotate.d
 
 sed -i '/\/usr\/bin\/env python/d' %{buildroot}/%{python_sitelib}/imgfac/*.py
 
-cp conf/ec2_fedora_jeos_03_OCT_2011.conf %{buildroot}/%{_sysconfdir}/imagefactory/jeos_images
-cp conf/ec2_rhel_jeos_03_OCT_2011.conf %{buildroot}/%{_sysconfdir}/imagefactory/jeos_images
+%{__install} conf/ec2_fedora_jeos.conf %{buildroot}/%{_sysconfdir}/imagefactory/jeos_images
+%{__install} conf/ec2_rhel_jeos.conf %{buildroot}/%{_sysconfdir}/imagefactory/jeos_images
+%{__install} -m0600 conf/imagefactory.sysconfig %{buildroot}/%{_sysconfdir}/sysconfig/imagefactory
+%{__install} -m0600 conf/imagefactory.logrotate %{buildroot}/%{_sysconfdir}/logrotate.d/imagefactory
 
 %post
 /sbin/chkconfig --add %{name}
@@ -80,6 +86,8 @@ fi
 %doc COPYING
 %{_initddir}/imagefactory
 %config(noreplace) %{_sysconfdir}/imagefactory/imagefactory.conf
+%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
+%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
 %dir %attr(0755, root, root) %{_sysconfdir}/pki/imagefactory/
 %dir %attr(0755, root, root) %{_sysconfdir}/imagefactory/jeos_images/
 %dir %attr(0755, root, root) %{_localstatedir}/lib/imagefactory/images
@@ -90,15 +98,12 @@ fi
 %{_mandir}/man1/*
 
 %files jeosconf-ec2-fedora
-%{_sysconfdir}/imagefactory/jeos_images/ec2_fedora_jeos_03_OCT_2011.conf
+%{_sysconfdir}/imagefactory/jeos_images/ec2_fedora_jeos.conf
 
 %files jeosconf-ec2-rhel
-%{_sysconfdir}/imagefactory/jeos_images/ec2_rhel_jeos_03_OCT_2011.conf
+%{_sysconfdir}/imagefactory/jeos_images/ec2_rhel_jeos.conf
 
 %changelog
-* Thu Oct 13 2011 Ian McLeod <imcleod at redhat.com> - 0.7.1-1
-- Incorporate subpackage improvement from clalance at redhat.com
-
 * Thu Sep 15 2011 Ian McLeod <imcleod at redhat.com> - 0.6.1
 - Update Oz requirement to 0.7.0 or later for new target-specific package config
 - Update SPEC file to restart service after an install


More information about the scm-commits mailing list