Description of problem: dokuwiki-selinux on EL5 Requires: policycoreutils-python just as it does on EL6 and Fedora. However, EL5 doesn't have any policycoreutils-python package. Instead, semanage is provided by the base policycoreutils package. Version-Release number of selected component (if applicable): dokuwiki-0-0.14.20121013.el5 How reproducible: always Steps to Reproduce: 1. yum install dokuwiki-selinux 2. 3. Actual results: #yum install dokuwiki-selinux Loaded plugins: downloadonly, fastestmirror, versionlock Loading mirror speeds from cached hostfile addons | 1.9 kB 00:00 base | 1.1 kB 00:00 epel | 3.6 kB 00:00 extras | 2.1 kB 00:00 netops | 1.0 kB 00:00 updates | 1.9 kB 00:00 Loading mirror speeds from cached hostfile addons | 1.9 kB 00:00 base | 1.1 kB 00:00 epel | 3.6 kB 00:00 extras | 2.1 kB 00:00 netops | 1.0 kB 00:00 updates | 1.9 kB 00:00 Reading version lock configuration Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package dokuwiki-selinux.noarch 0:0-0.14.20121013.el5 set to be updated --> Processing Dependency: dokuwiki = 0-0.14.20121013.el5 for package: dokuwiki-selinux --> Processing Dependency: policycoreutils-python for package: dokuwiki-selinux --> Running transaction check ---> Package dokuwiki.noarch 0:0-0.14.20121013.el5 set to be updated --> Processing Dependency: php-geshi for package: dokuwiki --> Processing Dependency: php-gd for package: dokuwiki --> Processing Dependency: php-email-address-validation for package: dokuwiki --> Processing Dependency: /usr/bin/php for package: dokuwiki ---> Package dokuwiki-selinux.noarch 0:0-0.14.20121013.el5 set to be updated --> Processing Dependency: policycoreutils-python for package: dokuwiki-selinux --> Running transaction check ---> Package dokuwiki-selinux.noarch 0:0-0.14.20121013.el5 set to be updated --> Processing Dependency: policycoreutils-python for package: dokuwiki-selinux ---> Package php-cli.x86_64 0:5.1.6-39.el5_8 set to be updated --> Processing Dependency: php-common = 5.1.6-39.el5_8 for package: php-cli --> Processing Dependency: libgmp.so.3()(64bit) for package: php-cli ---> Package php-email-address-validation.noarch 0:0-0.3.20090910svn.el5 set to be updated --> Processing Dependency: php for package: php-email-address-validation ---> Package php-gd.x86_64 0:5.1.6-39.el5_8 set to be updated ---> Package php-geshi.noarch 0:1.0.8.11-3.el5 set to be updated --> Processing Dependency: php-mbstring for package: php-geshi --> Running transaction check ---> Package dokuwiki-selinux.noarch 0:0-0.14.20121013.el5 set to be updated --> Processing Dependency: policycoreutils-python for package: dokuwiki-selinux ---> Package gmp.x86_64 0:4.1.4-10.el5 set to be updated ---> Package php.x86_64 0:5.1.6-39.el5_8 set to be updated ---> Package php-common.x86_64 0:5.1.6-39.el5_8 set to be updated ---> Package php-mbstring.x86_64 0:5.1.6-39.el5_8 set to be updated --> Finished Dependency Resolution dokuwiki-selinux-0-0.14.20121013.el5.noarch from epel has depsolving problems --> Missing Dependency: policycoreutils-python is needed by package dokuwiki-selinux-0-0.14.20121013.el5.noarch (epel) Error: Missing Dependency: policycoreutils-python is needed by package dokuwiki-selinux-0-0.14.20121013.el5.noarch (epel) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest The program package-cleanup is found in the yum-utils package. Expected results: dokuwiki-selinux on EL5 should not require policycoreutils-python, since the actual requirement of /usr/sbin/semanage is provided by the base policycoreutils package on EL5.
Created attachment 754028 [details] Patch to make policycoreutils-python requirement conditional on newer than EL5 This patch fixes the problem and has been tested on master/F20, F19, EL6 and EL5.
dokuwiki-0-0.20.20130510a.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/dokuwiki-0-0.20.20130510a.el6
dokuwiki-0-0.20.20130510a.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/dokuwiki-0-0.20.20130510a.fc19
dokuwiki-0-0.20.20130510a.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/dokuwiki-0-0.20.20130510a.el5
dokuwiki-0-0.20.20130510a.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/dokuwiki-0-0.20.20130510a.fc18
Package dokuwiki-0-0.20.20130510a.el5: * should fix your issue, * was pushed to the Fedora EPEL 5 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing dokuwiki-0-0.20.20130510a.el5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-11414/dokuwiki-0-0.20.20130510a.el5 then log in and leave karma (feedback).
dokuwiki-0-0.20.20130510a.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
dokuwiki-0-0.20.20130510a.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
dokuwiki-0-0.20.20130510a.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
dokuwiki-0-0.20.20130510a.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.