[mom] Update to mom-0.3.1
aglitke
aglitke at fedoraproject.org
Mon Jul 8 15:26:05 UTC 2013
commit 6794ee3a76c20d1ac30fb377a49cf46ea70b67c3
Author: Adam Litke <agl at linux.vnet.ibm.com>
Date: Mon Jul 8 11:25:42 2013 -0400
Update to mom-0.3.1
.gitignore | 1 +
mom.spec | 19 +++++++++++++++----
sources | 2 +-
3 files changed, 17 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index cb89b1d..0ee6f96 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/mom-0.2.1.tar.gz
/mom-0.2.2.tar.gz
/mom-0.3.0.tar.gz
+/mom-0.3.1.tar.gz
diff --git a/mom.spec b/mom.spec
index 8afc74e..ec5e06a 100644
--- a/mom.spec
+++ b/mom.spec
@@ -1,8 +1,8 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
Name: mom
-Version: 0.3.0
-Release: 2%{?dist}
+Version: 0.3.1
+Release: 1%{?dist}
Summary: Dynamically manage system resources on virtualization hosts
Group: Applications/System
@@ -12,6 +12,9 @@ Source0: http://github.com/downloads/aglitke/mom/%{name}-%{version}.tar.g
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: python-nose
# MOM makes use of libvirt by way of the python bindings to monitor and
# interact with virtual machines.
@@ -41,20 +44,23 @@ designed to accommodate new mechanisms such as cgroups.
%setup -q
%build
+echo "v%{version}-%{release}" > VERSION
+autoreconf -if
+%configure
+make
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
install -Dp contrib/momd.init $RPM_BUILD_ROOT/%{_initrddir}/momd
-
cp $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/examples/mom-balloon+ksm.conf \
$RPM_BUILD_ROOT/%{_sysconfdir}/momd.conf
# Correct the installed location of documentation files
mv $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name} \
$RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}-%{version}
-cp LICENSE README $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}-%{version}
+cp COPYING README $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}-%{version}
%clean
@@ -91,6 +97,11 @@ fi
%changelog
+* Mon Jul 8 2013 Adam Litke <agl at us.ibm.com> - 0.3.1-1
+- Upgrade to version 0.3.1
+- MOM now uses an autotools build process
+- Multiple policy support
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index 36c9aa9..5792b8a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8319c317e5c646c7430eed3639dfd40d mom-0.3.0.tar.gz
+e623b6a2e8844add1ded5042f830344c mom-0.3.1.tar.gz
More information about the scm-commits
mailing list