app-backup/snapper: add REQUIRED_USE restriction
authorYixun Lan <dlan@gentoo.org>
Thu, 25 Aug 2016 03:14:55 +0000 (11:14 +0800)
committerYixun Lan <dlan@gentoo.org>
Thu, 25 Aug 2016 05:28:14 +0000 (13:28 +0800)
Gentoo-Bug: 591926

Package-Manager: portage-2.3.0

app-backup/snapper/snapper-0.2.8-r1.ebuild [moved from app-backup/snapper/snapper-0.2.8.ebuild with 94% similarity]
app-backup/snapper/snapper-9999.ebuild

similarity index 94%
rename from app-backup/snapper/snapper-0.2.8.ebuild
rename to app-backup/snapper/snapper-0.2.8-r1.ebuild
index 6674766e1ca945384937b32a684e0e65c51fdb63..f6d70a12a263cf3027947093d2725e88f11fe6eb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -33,6 +33,8 @@ DEPEND="${RDEPEND}
        sys-devel/gettext
        virtual/pkgconfig"
 
+REQUIRED_USE="|| ( btrfs ext4 lvm )"
+
 DOCS=( AUTHORS README )
 
 src_prepare() {
index ec021d331a646a287617f595dd6c199adb53bb49..20b5908dd8620025f9f81a4c16846a3ab85f5fd8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -36,7 +36,9 @@ DEPEND="${RDEPEND}
        sys-devel/gettext
        virtual/pkgconfig"
 
-DOCS=( AUTHORS README.md package/snapper.changes )
+REQUIRED_USE="|| ( btrfs ext4 lvm )"
+
+DOCS=( AUTHORS package/snapper.changes )
 
 PATCHES=( "${FILESDIR}"/cron-confd.patch )