Source: libsemanage
Version: 2.7-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: rebootstrap
Control: block -1 by 875551
Please avoid using the stage1 profile. Not before too long, we'll all
have forgotten what its purpose is, which dependencies it is supposed to
drop and why it exists at all. Maintaining it will become difficult or
will simply not happen.
I suggest moving to better defined profiles serving similar purposes:
* The nopython profile is supposed to simply drop all python modules.
* The noruby profile is supposed to simply drop all ruby modules.
Just from their names, it is pretty obvious what they are supposed to
do and that meaning makes maintaining their support easier.
After applying my patch from #875551, all you need to do is update
debian/control with the attached patch as debian/rules only checks
DOPACKAGES. Does that sound reasonable to you?
Helmut
--- control.orig 2017-09-12 10:16:21.361067434 +0200
+++ control 2017-09-12 10:17:35.023754558 +0200
@@ -9,10 +9,10 @@
Standards-Version: 4.1.0
Build-Depends: bison,
debhelper (>= 10),
- dh-python <!stage1>,
+ dh-python <!nopython>,
file,
flex,
- gem2deb (>= 0.5.0~) <!stage1>,
+ gem2deb (>= 0.5.0~) <!noruby>,
libaudit-dev,
libbz2-dev,
libcunit1-dev,
@@ -20,9 +20,9 @@
libsepol1-dev (>= 2.7),
libustr-dev,
pkg-config,
- python-all-dev (>= 2.6.6-3~) <!stage1>,
- python3-all-dev <!stage1>,
- swig <!stage1>
+ python-all-dev (>= 2.6.6-3~) <!nopython>,
+ python3-all-dev <!nopython>,
+ swig <!nopython> <!noruby>
Homepage: http://userspace.selinuxproject.org/
X-Python-Version: >= 2.5
X-Python3-Version: >= 3.2
@@ -109,7 +109,7 @@
Architecture: linux-any
Depends: ruby | ruby-interpreter, ${misc:Depends}, ${shlibs:Depends}
Section: ruby
-Build-Profiles: <!stage1>
+Build-Profiles: <!noruby>
XB-Ruby-Versions: ${ruby:Versions}
Description: Ruby bindings to for SELinux policy management
This package provides the Ruby bindings needed for developing Ruby
@@ -129,7 +129,7 @@
Architecture: linux-any
Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
Section: python
-Build-Profiles: <!stage1>
+Build-Profiles: <!nopython>
Description: Python bindings for SELinux policy management
This package provides Python bindings for the management of SELinux
policies.
@@ -148,7 +148,7 @@
Architecture: linux-any
Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
Section: python
-Build-Profiles: <!stage1>
+Build-Profiles: <!nopython>
Description: Python3 bindings for SELinux policy management
This package provides Python3 bindings for the management of SELinux
policies.
_______________________________________________
SELinux-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/selinux-devel