summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2009-03-08 11:31:31 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2009-03-08 11:31:31 +0000
commit72c61bede5e0279cd4ee3b60cc3f0d0947fc4977 (patch)
tree4c536a0b5393174ea8dc71cd1b03c922cdc489db
parent78c26d98b13f3ee16d93f8950198376afb7589cb (diff)
downloadpython-dmidecode-72c61bede5e0279cd4ee3b60cc3f0d0947fc4977.tar.gz
python-dmidecode-72c61bede5e0279cd4ee3b60cc3f0d0947fc4977.tar.xz
python-dmidecode-72c61bede5e0279cd4ee3b60cc3f0d0947fc4977.zip
Applied patch submitted by Clark Williams <williams at redhat.com>.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@175 abc39116-655e-4be6-ad55-d661dc543056
-rw-r--r--Makefile13
-rw-r--r--debian/changelog6
2 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index eb7fa66..8e69bb5 100644
--- a/Makefile
+++ b/Makefile
@@ -58,6 +58,19 @@ clean :
-$(RM) *.so lib/*.o core
-rm -rf build .dpkg
+tarball:
+ rm -rf $(PACKAGE)-$(VERSION)
+ mkdir $(PACKAGE)-$(VERSION)
+ cp -r contrib doc examples lib Makefile man README src $(PACKAGE)-$(VERSION)
+ tar -czvf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
+
+rpm: tarball
+ rm -rf rpm
+ mkdir -p rpm/{BUILD,RPMS,SRPMS,SPECS,SOURCES}
+ cp contrib/$(PACKAGE).spec rpm/SPECS
+ cp $(PACKAGE)-$(VERSION).tar.gz rpm/SOURCES
+ rpmbuild -ba --define "_topdir $(shell pwd)/rpm" rpm/SPECS/$(PACKAGE).spec
+
###############################################################################
libdmidecode.so: dmihelper.o util.o dmioem.o dmidecode.o dmidecodemodule.o
$(CC) $(LDFLAGS) $(SOFLAGS) $^ -o $@
diff --git a/debian/changelog b/debian/changelog
index cbca96f..66a71b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-dmidecode (2.10.4-1) unstable; urgency=low
+
+ * Upstream release - purely to do with rpm packaging.
+
+ -- Nima Talebi <nima@it.net.au> Sun, 08 Mar 2009 22:26:59 +1100
+
python-dmidecode (2.10.3-1) unstable; urgency=low
* Upstream release - separate setup.py for debug and non-debug versions of