diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-06-13 14:00:42 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-06-13 14:00:42 -0300 |
commit | 548e5a1c015f017f938391a8c10b2063ce5f2290 (patch) | |
tree | f894fdead885d40d6e76a6eee0178438157c246e | |
parent | 8029fecd261df2ad7444d60622c2dc70aaa27304 (diff) | |
download | python-linux-procfs-548e5a1c015f017f938391a8c10b2063ce5f2290.tar.gz |
Makefile: make rpmv0.3
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | rpm/SPECS/python-linux-procfs.spec | 5 |
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 |