https://bugzilla.redhat.com/show_bug.cgi?id=2341923

Petr Menšík <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]



--- Comment #3 from Petr Menšík <[email protected]> ---
Absence of any %license marked file seems to me like a blocker, not a minor
issue. %doc marked documents are allowed to be omitted when installing the
package. I think packaging guidelines requires %license marked text to be
always installed, which is not the case now.

More on:
https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text

I propose to either do not mark README.markdown as %doc or mark it directly
%license. I would propose requesting separate file with license text only added
upstream. But until separate %license file is done, I think the package has to
ensure license text is present among its files when the package is installed.
That forbids %doc having that text IMO.

It might be possible to "extract" license text from README at build time, then
using it as separate marked file.

sed --silent -e '/^Copyright & License/,/\[Back to TOC\]/ p' README.markdown >
LICENSE.markdown
touch -r README.markdown LICENSE.markdown

Technically upstream includes license, just not in separate file. That could be
separated in package spec until upstream moves it to separate file. But I do
not think %doc can be used for it.

Additional problem seems unowned parent directories.

%{nginx_moddir}
%{nginx_modconfdir}

These directories need to exist, but the package does not have any direct
Requires: ensuring package owning them must be present. I think potential
shared library dependencies should not be relied on in this case, but not only
BuildRequires should be used. Add Requires: nginx-core for correct depend
owning those.

[!]: Package requires other packages for directories it uses.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2341923

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202341923%23c3

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to