Bug 1536209 - Install license in /usr/share/licenses
Summary: Install license in /usr/share/licenses
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: haproxy
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ryan O'Hara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-18 21:55 UTC by Carl George
Modified: 2018-02-26 17:06 UTC (History)
4 users (show)

Fixed In Version: haproxy-1.8.4-2.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-26 17:06:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Carl George 2018-01-18 21:55:01 UTC
Description of problem:
The LICENSE file is installed in the documentation directory, not the licenses directory.  This means that if you install the package with `tsflags=nodocs` then it will be installed without the license.  The %license macro handles this and is described here:
https://fedoraproject.org/wiki/Changes/Use_license_macro_in_RPMs_for_packages_in_Cloud_Image

Version-Release number of selected component (if applicable):
haproxy-1.8.3-2.fc28

Actual results:
License is not installed when `tsflags=nodocs` is set.

Expected results:
License is always installed.

Additional info:
I have submitted a pull request to correct this:
https://src.fedoraproject.org/rpms/haproxy/pull-request/4

Comment 1 Fedora End Of Life 2018-02-20 15:29:40 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 2 Ryan O'Hara 2018-02-26 17:06:21 UTC
Fixed in rawhide and F28.


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