Skip to content

Commit 72c61be

Browse files
author
nima
committed
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
1 parent 78c26d9 commit 72c61be

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,19 @@ clean :
5858
-$(RM) *.so lib/*.o core
5959
-rm -rf build .dpkg
6060

61+
tarball:
62+
rm -rf $(PACKAGE)-$(VERSION)
63+
mkdir $(PACKAGE)-$(VERSION)
64+
cp -r contrib doc examples lib Makefile man README src $(PACKAGE)-$(VERSION)
65+
tar -czvf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
66+
67+
rpm: tarball
68+
rm -rf rpm
69+
mkdir -p rpm/{BUILD,RPMS,SRPMS,SPECS,SOURCES}
70+
cp contrib/$(PACKAGE).spec rpm/SPECS
71+
cp $(PACKAGE)-$(VERSION).tar.gz rpm/SOURCES
72+
rpmbuild -ba --define "_topdir $(shell pwd)/rpm" rpm/SPECS/$(PACKAGE).spec
73+
6174
###############################################################################
6275
libdmidecode.so: dmihelper.o util.o dmioem.o dmidecode.o dmidecodemodule.o
6376
$(CC) $(LDFLAGS) $(SOFLAGS) $^ -o $@

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
python-dmidecode (2.10.4-1) unstable; urgency=low
2+
3+
* Upstream release - purely to do with rpm packaging.
4+
5+
-- Nima Talebi <nima@it.net.au> Sun, 08 Mar 2009 22:26:59 +1100
6+
17
python-dmidecode (2.10.3-1) unstable; urgency=low
28

39
* Upstream release - separate setup.py for debug and non-debug versions of

0 commit comments

Comments
 (0)