summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--contrib/python-dmidecode.spec3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 98e6df7..6793970 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ clean:
tarball:
rm -rf $(PACKAGE)-$(VERSION)
mkdir $(PACKAGE)-$(VERSION)
- cp -r contrib doc examples Makefile man README src dmidecode.py $(PACKAGE)-$(VERSION)
+ cp -r contrib doc examples Makefile man README src dmidecode.py unit-tests/ $(PACKAGE)-$(VERSION)
tar -czvf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
rpm-prep:
diff --git a/contrib/python-dmidecode.spec b/contrib/python-dmidecode.spec
index be0cd53..0c7cba6 100644
--- a/contrib/python-dmidecode.spec
+++ b/contrib/python-dmidecode.spec
@@ -25,6 +25,9 @@ as python data structures or as XML data using libxml2.
%build
make build
+cd unit-tests
+make
+cd ..
%install
rm -rf $RPM_BUILD_ROOT