summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2008-06-13 14:00:42 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2008-06-13 14:00:42 -0300
commit548e5a1c015f017f938391a8c10b2063ce5f2290 (patch)
treef894fdead885d40d6e76a6eee0178438157c246e
parent8029fecd261df2ad7444d60622c2dc70aaa27304 (diff)
downloadpython-linux-procfs-548e5a1c015f017f938391a8c10b2063ce5f2290.tar.gz
Makefile: make rpmv0.3
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--Makefile8
-rw-r--r--rpm/SPECS/python-linux-procfs.spec5
2 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..77a2e8a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+PACKAGE := python-linux-procfs
+VERSION := $(shell rpm -q --qf '%{VERSION}' --specfile rpm/SPECS/$(PACKAGE).spec)
+
+bz2:
+ git archive --format=tar HEAD | bzip2 -9 > rpm/SOURCES/$(PACKAGE)-$(VERSION).tar.bz2
+
+rpm: bz2
+ rpmbuild -ba --define "_topdir $(PWD)/rpm" rpm/SPECS/$(PACKAGE).spec
diff --git a/rpm/SPECS/python-linux-procfs.spec b/rpm/SPECS/python-linux-procfs.spec
index b7e054a..2d688d8 100644
--- a/rpm/SPECS/python-linux-procfs.spec
+++ b/rpm/SPECS/python-linux-procfs.spec
@@ -1,7 +1,7 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: python-linux-procfs
-Version: 0.2
+Version: 0.3
Release: 1%{?dist}
License: GPLv2
Summary: Linux /proc abstraction classes
@@ -33,5 +33,8 @@ rm -rf %{buildroot}
%{python_sitelib}/*.egg-info
%changelog
+* Fri Jun 13 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.3-1
+- Support CPU hotplug
+
* Mon Feb 25 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.1-1
- package created