Bug 967975

Summary: Broken Requires: policycoreutils-python on EL5 for dokuwiki-selinux
Product: [Fedora] Fedora EPEL Reporter: Charles R. Anderson <cra>
Component: dokuwikiAssignee: Adam Tkac <vonsch>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el5CC: andrew, vonsch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dokuwiki-0-0.20.20130510a.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-12 01:54:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to make policycoreutils-python requirement conditional on newer than EL5 none

Description Charles R. Anderson 2013-05-28 17:17:52 UTC
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.

Comment 1 Charles R. Anderson 2013-05-28 17:40:26 UTC
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.

Comment 2 Fedora Update System 2013-09-03 14:04:50 UTC
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

Comment 3 Fedora Update System 2013-09-03 14:05:15 UTC
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

Comment 4 Fedora Update System 2013-09-03 14:05:40 UTC
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

Comment 5 Fedora Update System 2013-09-03 14:05:55 UTC
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

Comment 6 Fedora Update System 2013-09-03 16:35:41 UTC
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).

Comment 7 Fedora Update System 2013-09-12 01:54:31 UTC
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.

Comment 8 Fedora Update System 2013-09-12 01:55:48 UTC
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.

Comment 9 Fedora Update System 2013-09-23 18:10:48 UTC
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.

Comment 10 Fedora Update System 2013-09-23 18:11:56 UTC
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.