Fix client only RPM build & other misc RPM problems

* libvirt.spec.in: Remove obsolete --with-remote-pid-file arg.
  Add missing %{without_libxl} statement. Fix handling of docs
  in client only build. Put systemtap files in -client RPM
  instead of -daemon RPM
* examples/xml/nwfilter/Makefile.am: Don't install examples if
  nwfilter is disabled.
This commit is contained in:
Daniel P. Berrange
2012-03-31 12:55:41 +01:00
parent 06a0d57f5a
commit 8bf0442e83
2 changed files with 11 additions and 21 deletions

View File

@@ -22,6 +22,7 @@ FILTERS = \
EXTRA_DIST=$(FILTERS)
if WITH_NWFILTER
confdir = $(sysconfdir)/libvirt
NWFILTER_DIR = "$(DESTDIR)$(sysconfdir)/libvirt/nwfilter"
@@ -37,3 +38,4 @@ uninstall-local::
rm -f "$(NWFILTER_DIR)/$$f"; \
done
-test -z $(shell ls $(NWFILTER_DIR)) || rmdir $(NWFILTER_DIR)
endif