diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | contrib/python-dmidecode.spec | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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 |