Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527712 - app-arch/rpm should only use RDEPEND for SELinux policy package dependency
Summary: app-arch/rpm should only use RDEPEND for SELinux policy package dependency
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Stanislav Ochotnicky (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 527698
  Show dependency tree
 
Reported: 2014-11-01 09:21 UTC by Sven Vermeulen (RETIRED)
Modified: 2014-11-02 07:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Vermeulen (RETIRED) gentoo-dev 2014-11-01 09:21:59 UTC
Please remove the "selinux? ( sec-policy/selinux-* )" dependency in the DEPEND variable (not RDEPEND). Take this into account with your next package bump - if after 6 months there have been no need for other package upgrades, we will be bumping the package(s) ourselves with just this change.

For more information, see our tracker Bug #527698 [1]. The requested change will be posted as a separate comment/patch. Note that if the package also depends on libselinux, libselinux itself should still remain in DEPEND and RDEPEND.

[1] https://bugs.gentoo.org/show_bug.cgi?id=527698


Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2014-11-01 09:22:40 UTC
Index: rpm-4.11.0.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.11.0.1.ebuild,v
retrieving revision 1.13
diff -u -B -r1.13 rpm-4.11.0.1.ebuild
--- rpm-4.11.0.1.ebuild 30 Jun 2013 18:04:14 -0000      1.13
+++ rpm-4.11.0.1.ebuild 1 Nov 2014 09:22:07 -0000
@@ -18,7 +18,7 @@
 
 IUSE="nls python doc caps lua acl selinux"
 
-RDEPEND="!app-arch/rpm5
+CDEPEND="!app-arch/rpm5
        >=sys-libs/db-4.5
        >=sys-libs/zlib-1.2.3-r1
        >=app-arch/bzip2-1.0.1
@@ -32,12 +32,13 @@
        nls? ( virtual/libintl )
        lua? ( >=dev-lang/lua-5.1.0[deprecated] )
        acl? ( virtual/acl )
-       caps? ( >=sys-libs/libcap-2.0 )
-       selinux? ( sec-policy/selinux-rpm )"
+       caps? ( >=sys-libs/libcap-2.0 )"
 
-DEPEND="${RDEPEND}
+DEPEND="${CDEPEND}
        nls? ( sys-devel/gettext )
        doc? ( app-doc/doxygen )"
+RDEPEND="${CDEPEND}
+       selinux? ( sec-policy/selinux-rpm )"
 
 REQUIRED_USE="
        python? ( ${PYTHON_REQUIRED_USE} )
Index: rpm-4.11.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.11.1.ebuild,v
retrieving revision 1.1
diff -u -B -r1.1 rpm-4.11.1.ebuild
--- rpm-4.11.1.ebuild   24 Jul 2013 15:16:24 -0000      1.1
+++ rpm-4.11.1.ebuild   1 Nov 2014 09:22:07 -0000
@@ -18,7 +18,7 @@
 
 IUSE="nls python doc caps lua acl selinux"
 
-RDEPEND="!app-arch/rpm5
+CDEPEND="!app-arch/rpm5
        >=sys-libs/db-4.5
        >=sys-libs/zlib-1.2.3-r1
        >=app-arch/bzip2-1.0.1
@@ -32,13 +32,13 @@
        nls? ( virtual/libintl )
        lua? ( >=dev-lang/lua-5.1.0[deprecated] )
        acl? ( virtual/acl )
-       caps? ( >=sys-libs/libcap-2.0 )
-       selinux? ( sec-policy/selinux-rpm )"
+       caps? ( >=sys-libs/libcap-2.0 )"
 
-DEPEND="${RDEPEND}
+DEPEND="${CDEPEND}
        nls? ( sys-devel/gettext )
        doc? ( app-doc/doxygen )"
-
+RDEPEND="${CDEPEND}
+       selinux? ( sec-policy/selinux-rpm )"
 REQUIRED_USE="
        python? ( ${PYTHON_REQUIRED_USE} )
 "
Index: rpm-4.11.2-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.11.2-r1.ebuild,v
retrieving revision 1.1
diff -u -B -r1.1 rpm-4.11.2-r1.ebuild
--- rpm-4.11.2-r1.ebuild        11 Jul 2014 19:25:21 -0000      1.1
+++ rpm-4.11.2-r1.ebuild        1 Nov 2014 09:22:07 -0000
@@ -18,7 +18,7 @@
 
 IUSE="nls python doc caps lua acl selinux"
 
-RDEPEND="!app-arch/rpm5
+CDEPEND="!app-arch/rpm5
        >=sys-libs/db-4.5
        >=sys-libs/zlib-1.2.3-r1
        >=app-arch/bzip2-1.0.1
@@ -32,13 +32,13 @@
        nls? ( virtual/libintl )
        lua? ( >=dev-lang/lua-5.1.0[deprecated] )
        acl? ( virtual/acl )
-       caps? ( >=sys-libs/libcap-2.0 )
-       selinux? ( sec-policy/selinux-rpm )"
+       caps? ( >=sys-libs/libcap-2.0 )"
 
-DEPEND="${RDEPEND}
+DEPEND="${CDEPEND}
        nls? ( sys-devel/gettext )
        doc? ( app-doc/doxygen )"
-
+RDEPEND="${CDEPEND}
+       selinux? ( sec-policy/selinux-rpm )"
 REQUIRED_USE="
        python? ( ${PYTHON_REQUIRED_USE} )
 "
Index: rpm-4.11.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.11.2.ebuild,v
retrieving revision 1.1
diff -u -B -r1.1 rpm-4.11.2.ebuild
--- rpm-4.11.2.ebuild   9 Jun 2014 07:33:34 -0000       1.1
+++ rpm-4.11.2.ebuild   1 Nov 2014 09:22:07 -0000
@@ -18,7 +18,7 @@
 
 IUSE="nls python doc caps lua acl selinux"
 
-RDEPEND="!app-arch/rpm5
+CDEPEND="!app-arch/rpm5
        >=sys-libs/db-4.5
        >=sys-libs/zlib-1.2.3-r1
        >=app-arch/bzip2-1.0.1
@@ -32,13 +32,13 @@
        nls? ( virtual/libintl )
        lua? ( >=dev-lang/lua-5.1.0[deprecated] )
        acl? ( virtual/acl )
-       caps? ( >=sys-libs/libcap-2.0 )
-       selinux? ( sec-policy/selinux-rpm )"
+       caps? ( >=sys-libs/libcap-2.0 )"
 
-DEPEND="${RDEPEND}
+DEPEND="${CDEPEND}
        nls? ( sys-devel/gettext )
        doc? ( app-doc/doxygen )"
-
+RDEPEND="${CDEPEND}
+       selinux? ( sec-policy/selinux-rpm )"
 REQUIRED_USE="
        python? ( ${PYTHON_REQUIRED_USE} )
 "
Index: rpm-4.12.0.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.12.0.1.ebuild,v
retrieving revision 1.2
diff -u -B -r1.2 rpm-4.12.0.1.ebuild
--- rpm-4.12.0.1.ebuild 5 Oct 2014 19:50:44 -0000       1.2
+++ rpm-4.12.0.1.ebuild 1 Nov 2014 09:22:07 -0000
@@ -18,7 +18,7 @@
 
 IUSE="nls python doc caps lua acl selinux"
 
-RDEPEND="!app-arch/rpm5
+CDEPEND="!app-arch/rpm5
        app-arch/libarchive
        >=sys-libs/db-4.5
        >=sys-libs/zlib-1.2.3-r1
@@ -33,13 +33,13 @@
        nls? ( virtual/libintl )
        lua? ( >=dev-lang/lua-5.1.0[deprecated] )
        acl? ( virtual/acl )
-       caps? ( >=sys-libs/libcap-2.0 )
-       selinux? ( sec-policy/selinux-rpm )"
+       caps? ( >=sys-libs/libcap-2.0 )"
 
-DEPEND="${RDEPEND}
+DEPEND="${CDEPEND}
        nls? ( sys-devel/gettext )
        doc? ( app-doc/doxygen )"
-
+RDEPEND="${CDEPEND}
+       selinux? ( sec-policy/selinux-rpm )"
 REQUIRED_USE="
        python? ( ${PYTHON_REQUIRED_USE} )
 "
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2014-11-02 07:56:53 UTC
After checking with a few colleague developers it seems that this change does not need a revision bump after all. As such, I will make the necessary changes to the packages myself.

My apologies for the noise.