Bug 1396260 - Obsoletes is against epel7 policy
Summary: Obsoletes is against epel7 policy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: google-noto-cjk-fonts
Version: epel7
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Peng Wu
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-17 19:36 UTC by Tuomo Soini
Modified: 2016-12-19 22:17 UTC (History)
4 users (show)

Fixed In Version: google-noto-cjk-fonts-1.004-7.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-19 22:17:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tuomo Soini 2016-11-17 19:36:42 UTC
rpm -q --obsoletes -p google-noto-cjk-fonts-1.004-5.el7.noarch.rpm
google-noto-sans-cjk-fonts < 20150617
google-noto-sans-simplified-chinese-fonts < 20150617
google-noto-cjk-sans-simplified-chinese-fonts < 1.004-5.el7
google-noto-sans-traditional-chinese-fonts < 20150617
google-noto-cjk-sans-traditional-chinese-fonts < 1.004-5.el7
google-noto-sans-japanese-fonts < 20150617
google-noto-cjk-sans-japanese-fonts < 1.004-5.el7
google-noto-sans-korean-fonts < 20150617
google-noto-cjk-sans-korean-fonts < 1.004-5.el7

These rhel7 packages are listed in obsoletes - that is not allowed in epel.

google-noto-sans-cjk-fonts.noarch             20141117-5.el7
google-noto-sans-simplified-chinese-fonts.noarch      20141117-5.el7
google-noto-sans-traditional-chinese-fonts.noarch     20141117-5.el7
google-noto-sans-japanese-fonts.noarch           20141117-5.el7
google-noto-sans-korean-fonts.noarch            20141117-5.el7

Comment 1 Peng Wu 2016-11-21 03:52:45 UTC
Actually google-noto-fonts is split into 3 package in upstream.

We packaged the new version with 3 rpm, google-noto-fonts, google-noto-cjk-fonts
and google-noto-emoji-fonts.

google-noto-cjk-fonts is part of google-noto-fonts in the past, we just obsoletes
the same fonts of old google-noto-fonts package.

Comment 2 Tuomo Soini 2016-11-21 07:51:12 UTC
Yes - but epel7 package must not udate rhel7 package in any case - that is against epel policy so please fix.

Comment 3 Parag Nemade 2016-11-28 07:11:41 UTC
Please point us where the EPEL policy is written that EPEL package should not update RHEL packages. We will be happy to fix package according to EPEL packaging policy.

Comment 4 Tuomo Soini 2016-11-28 08:17:56 UTC
https://fedoraproject.org/wiki/EPEL/GuidelinesAndPolicies#Policy

At the very beginning:

"EPEL packages should only enhance and never disturb the Enterprise Linux distributions they were built for. Thus packages from EPEL should never replace packages from the target base distribution - including those on the base distribution as well as layered products; kernel-modules further are not allowed, as they can disturb the base kernel easily."

Comment 5 Peng Wu 2016-11-29 10:04:42 UTC
Any problem with current packages?

Comment 6 Tuomo Soini 2016-11-30 18:44:29 UTC
This bug is about current package google-noto-cjk-fonts obsoleting rhel7 provided package which is not allowed.

Comment 7 Stephen John Smoogen 2016-11-30 18:47:08 UTC
Peng Wu and others. When refering to "current" packages please be clear on what you mean. The ones that are in epel-7 as of today? the ones that are in the build system somewhere and are going to be in testing, etc. 

It will make communication between parties smoother as people aren't sure what each person is talking about.

Comment 8 Tuomo Soini 2016-11-30 19:47:43 UTC
Actually my initial bug report includes package versions involved - and there is no later update visible in bodhi.

Comment 9 Jens Petersen 2016-12-01 04:11:25 UTC
Thanks for reporting this, Tuomo

We need to drop the obsoletes from google-noto-cjk-fonts.
EPEL packages should not obsoletes RHEL packages.

Comment 10 Parag Nemade 2016-12-01 13:50:34 UTC
Thanks Jens. I just checked this issue on actual RHEL desktop and found that if we drop the Obsoletes: from google-noto-cjk-fonts epel7 package then we can have both the same packages but with different name getting installed successfully.

See
$ rpm -ql google-noto-sans-cjk-fonts-20141117-5.el7
/etc/fonts/conf.d/66-google-noto-sans-cjk.conf
/usr/share/appdata/google-noto-sans-cjk.metainfo.xml
/usr/share/fontconfig/conf.avail/66-google-noto-sans-cjk.conf
/usr/share/fonts/google-noto
/usr/share/fonts/google-noto/NotoSansCJK-Black.ttc
/usr/share/fonts/google-noto/NotoSansCJK-Bold.ttc
/usr/share/fonts/google-noto/NotoSansCJK-DemiLight.ttc
/usr/share/fonts/google-noto/NotoSansCJK-Light.ttc
/usr/share/fonts/google-noto/NotoSansCJK-Medium.ttc
/usr/share/fonts/google-noto/NotoSansCJK-Regular.ttc
/usr/share/fonts/google-noto/NotoSansCJK-Thin.ttc

$ rpm -ql google-noto-cjk-fonts-1.004-5.el7
/etc/fonts/conf.d/66-google-noto-cjk-sans-japanese.conf
/etc/fonts/conf.d/66-google-noto-cjk-sans-korean.conf
/etc/fonts/conf.d/66-google-noto-cjk-sans-simplified-chinese.conf
/etc/fonts/conf.d/66-google-noto-cjk-sans-traditional-chinese.conf
/usr/share/doc/google-noto-cjk-fonts-1.004
/usr/share/doc/google-noto-cjk-fonts-1.004/HISTORY
/usr/share/doc/google-noto-cjk-fonts-1.004/NEWS
/usr/share/doc/google-noto-cjk-fonts-1.004/README.formats
/usr/share/doc/google-noto-cjk-fonts-1.004/README.third_party
/usr/share/fontconfig/conf.avail/66-google-noto-cjk-sans-japanese.conf
/usr/share/fontconfig/conf.avail/66-google-noto-cjk-sans-korean.conf
/usr/share/fontconfig/conf.avail/66-google-noto-cjk-sans-simplified-chinese.conf
/usr/share/fontconfig/conf.avail/66-google-noto-cjk-sans-traditional-chinese.conf
/usr/share/fonts/google-noto-cjk
/usr/share/fonts/google-noto-cjk/NotoSansCJK-Black.ttc
/usr/share/fonts/google-noto-cjk/NotoSansCJK-Bold.ttc
/usr/share/fonts/google-noto-cjk/NotoSansCJK-DemiLight.ttc
/usr/share/fonts/google-noto-cjk/NotoSansCJK-Light.ttc
/usr/share/fonts/google-noto-cjk/NotoSansCJK-Medium.ttc
/usr/share/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc
/usr/share/fonts/google-noto-cjk/NotoSansCJK-Thin.ttc
/usr/share/licenses/google-noto-cjk-fonts-1.004
/usr/share/licenses/google-noto-cjk-fonts-1.004/LICENSE


The package maintainer is away currently. I think dropping Obsoletes from epel7 package will be the easy solution here. I hope others will also agree with this.

Comment 11 Stephen John Smoogen 2016-12-01 15:29:53 UTC
Agreed. Do you need a proven packager to fix this until the package maintainer comes back from travel?

Comment 12 Parag Nemade 2016-12-01 16:33:58 UTC
I think he will be back by tomorrow so if this is not urgent then we can wait for him. I do have provenpackager but I like him to do this change :)

Comment 13 Peng Wu 2016-12-02 04:19:40 UTC
Sorry, I am just back, updating it now.

Thanks for all the comments!

Comment 14 Fedora Update System 2016-12-02 06:59:47 UTC
google-noto-cjk-fonts-1.004-7.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-0b139b1fbe

Comment 15 Fedora Update System 2016-12-03 11:18:58 UTC
google-noto-cjk-fonts-1.004-7.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-0b139b1fbe

Comment 16 Fedora Update System 2016-12-19 22:17:27 UTC
google-noto-cjk-fonts-1.004-7.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


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