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.
Created attachment 912743 [details] Proposed packaging fixes
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}
(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?
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.