Skip to content

Commit

Permalink
rpm: integrate documentation into main package
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Jun 8, 2017
1 parent 7e608a8 commit c8e2c69
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 59 deletions.
3 changes: 1 addition & 2 deletions Makefile.builder
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
ifeq ($(PACKAGE_SET),vm)
RPM_SPEC_FILES := rpm_spec/core-agent.spec \
rpm_spec/core-vm-doc.spec
RPM_SPEC_FILES := rpm_spec/core-agent.spec

ifneq ($(filter $(DISTRIBUTION), debian qubuntu),)
DEBIAN_BUILD_DIRS := debian
Expand Down
7 changes: 7 additions & 0 deletions rpm_spec/core-agent.spec
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ Obsoletes: qubes-core-vm-kernel-placeholder <= 1.0
Obsoletes: qubes-upgrade-vm < 3.2
Provides: qubes-core-vm = %{version}-%{release}
Obsoletes: qubes-core-vm < 4.0.0
Provides: qubes-core-vm-doc = %{version}-%{release}
Obsoletes: qubes-core-vm-doc < 4.0.0
BuildRequires: pandoc
BuildRequires: xen-devel
BuildRequires: libX11-devel
BuildRequires: qubes-utils-devel >= 3.1.3
Expand Down Expand Up @@ -240,6 +243,7 @@ ln -sf . %{name}-%{version}
for dir in qubes-rpc qrexec misc; do
(cd $dir; make)
done
make -C doc manpages

%pre
# Make sure there is a qubes group
Expand Down Expand Up @@ -267,6 +271,8 @@ usermod -L user
(cd qrexec; make install DESTDIR=$RPM_BUILD_ROOT)
make install-vm DESTDIR=$RPM_BUILD_ROOT

make -C doc install DESTDIR=$RPM_BUILD_ROOT

%if %{fedora} >= 22
rm -f $RPM_BUILD_ROOT/etc/yum/post-actions/qubes-trigger-sync-appmenus.action
%endif
Expand Down Expand Up @@ -554,6 +560,7 @@ rm -f %{name}-%{version}
/usr/share/glib-2.0/schemas/20_org.gnome.nautilus.qubes.gschema.override
/usr/share/glib-2.0/schemas/20_org.mate.NotificationDaemon.qubes.gschema.override
/usr/share/glib-2.0/schemas/20_org.gnome.desktop.wm.preferences.qubes.gschema.override
%{_mandir}/man1/qvm-*.1*

%dir %{python_sitelib}/qubesagent-*-py2.7.egg-info
%{python_sitelib}/qubesagent-*-py2.7.egg-info/*
Expand Down
57 changes: 0 additions & 57 deletions rpm_spec/core-vm-doc.spec

This file was deleted.

0 comments on commit c8e2c69

Please sign in to comment.