Bug 1409281 - Conflict with python-demjson over /usr/bin/jsonlint
Summary: Conflict with python-demjson over /usr/bin/jsonlint
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: php-jsonlint
Version: rawhide
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Shawn Iwinski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-31 01:37 UTC by Randy Barlow
Modified: 2017-01-16 13:36 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-16 13:36:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Randy Barlow 2016-12-31 01:37:16 UTC
Description of problem:
Both php-jsonlint and python-demjson install /usr/bin/jsonlint. This prevents both packages from being installed on the same system:

Error: Transaction check error:
  file /usr/bin/jsonlint from install of python2-demjson-2.2.4-
4.fc26.noarch conflicts with file from package php-jsonlint-1.5.0-
1.fc26.noarch

In an offline thread, it was suggested that php-jsonlint could change to install /usr/bin/jsonlint-php instead, as this is the name of the executable in Debian.

Comment 1 Randy Barlow 2016-12-31 01:37:44 UTC
It might be reasonable to make this change in Rawhide only, since it is backwards incompatible.

Comment 2 Shawn Iwinski 2017-01-14 02:15:47 UTC
Change committed and built in rawhide.  If you wish to add a conflicts in your package, use "Conflicts: php-jsonlint < 1.5.0-2"

Diff: https://src.fedoraproject.org/cgit/rpms/php-jsonlint.git/commit/?id=db3f2fca5c187352866c788c5aa36591109a5987

Koji: https://koji.fedoraproject.org/koji/buildinfo?buildID=833795


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