Bug 1113942 - copr-doc needs to own %{_pkgdocdir}
Summary: copr-doc needs to own %{_pkgdocdir}
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: copr
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-27 09:53 UTC by Ralf Corsepius
Modified: 2014-06-30 07:34 UTC (History)
1 user (show)

Fixed In Version: copr-frontend-1.39
Clone Of:
Environment:
Last Closed: 2014-06-27 10:10:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Proposed packaging fixes (1.02 KB, patch)
2014-06-27 09:55 UTC, Ralf Corsepius
no flags Details | Diff

Description Ralf Corsepius 2014-06-27 09:53:00 UTC
Description of problem:
copr-doc installs its contents into copr's %{_pkgdocdir} (/usr/share/doc/copr), but does not own this directory nor depend on a package owning this directory.

Version-Release number of selected component (if applicable):
copr-1.26-x on f19, f20 and rawhide.

How reproducible:
Always.

Steps to Reproduce:
1. Remove all packages owning /usr/share/doc/copr
2. yum install copr-doc
3. yum remove copr-doc
4. rpm -qf /usr/share/doc/copr

Actual results:
# rpm -qf /usr/share/doc/copr/
file /usr/share/doc/copr is not owned by any package

Expected results:
Proper uninstallation.

Additional information:
I have a patch pending, I would want to apply unless somebody objects.

Comment 1 Ralf Corsepius 2014-06-27 09:55:26 UTC
Created attachment 912743 [details]
Proposed packaging fixes

Comment 2 Miroslav Suchý 2014-06-27 10:10:59 UTC
copr package is dead.
It has been replaced by copr-frontend, copr-backend, copr-selinux and copr-cli (some are already in Fedora, some have Package Review in progress.
I will mark copr as dead so it does not confuse people.

Those new packages correctly owns %{_pkgdocdir}

Comment 3 Ralf Corsepius 2014-06-27 15:13:16 UTC
(In reply to Miroslav Suchý from comment #2)
> copr package is dead.
> It has been replaced by copr-frontend, copr-backend, copr-selinux and
> copr-cli (some are already in Fedora, some have Package Review in progress.
> I will mark copr as dead so it does not confuse people.
> 
> Those new packages correctly owns %{_pkgdocdir}

Hmm, then the packaging state at least in F20 seems to be in disorder:

On F20, AFAIS, copr isn't available anymore, but copr-doc (w/ the unowned %_pkgdocdir) still is.

# yum install copr copr-doc
... 
No package copr available.
...
---> Package copr-doc.noarch 0:1.26-1.fc20 will be installed
...

Are you sure you provided appropriate obsoletes/provides?

Comment 4 Miroslav Suchý 2014-06-30 07:34:55 UTC
You are right, I forgot about upgrades of copr-doc.
Fixed in upstream in commit 2ce403d79f4979376667af1a1204ef6d56f4c4e3.

I set for copr-fronted-doc:
Obsoletes:  copr-doc < 1.38

copr-doc has been replaced by copr-frontend-doc and copr-backend-doc, but most documentation is in copr-frontend-doc, so I put in in frontend.


Note You need to log in before you can comment on or make changes to this bug.