packaging: Add a fuse subpackage
authorColin Walters <walters@verbum.org>
Wed, 17 Feb 2016 15:37:08 +0000 (10:37 -0500)
committerColin Walters <walters@verbum.org>
Wed, 17 Feb 2016 16:06:53 +0000 (11:06 -0500)
For rofiles-fuse.  Eventually what we should really do is split out
the shared library from the binaries?  A minimal system shouldn't need
rofiles-fuse, it's mainly for doing layered packages and that sort of
thing.

packaging/ostree.spec.in

index 8f9cacfdc2c507cf812ce1e8cee44ee2f3e30cad..2d6a266043df3d65f3c1e7fb09dfd55cea60cd9c 100644 (file)
@@ -19,6 +19,7 @@ BuildRequires: pkgconfig(libgsystem)
 BuildRequires: pkgconfig(e2p)
 # Extras
 BuildRequires: pkgconfig(libarchive)
+BuildRequires: pkgconfig(fuse)
 BuildRequires: pkgconfig(libselinux)
 BuildRequires: libcap-devel
 BuildRequires: gpgme-devel
@@ -55,6 +56,14 @@ Requires: grub2
 %description grub2
 GRUB2 integration for OSTree
 
+%package fuse
+Summary: FUSE utilities for OSTree
+Group: Development/Libraries
+Requires: fuse
+
+%description fuse
+%{summary}
+
 %prep
 %setup -q -n ostree-%{version}
 
@@ -108,3 +117,6 @@ rm -rf $RPM_BUILD_ROOT
 %files grub2
 %{_sysconfdir}/grub.d/*ostree
 %{_libexecdir}/ostree/grub2*
+
+%files fuse
+%{_bindir}/rofiles-fuse