[Bug 1221781] Review Request: zipios - C++ library for reading and writing Zip files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #28 from Raphael Groner <projects.rg@xxxxxxxx> ---
You must use %license COPYING, at least for Fedora builds that support that
macro, and that begins with F21+, EPEL7 does also know this macro.
If the source package includes the text of the license(s) in its own file, then
that file, containing the text of the license(s) for the package must be
included in %license. 
https://fedoraproject.org/wiki/Packaging:LicensingGuidelines#License_Text

%install
…
# Make doc install compliant with the guidelines:
# https://fedoraproject.org/wiki/Packaging:Guidelines#Documentation
mkdir -p %{buildroot}%{_pkgdocdir}
%if 0%{?rhel} >= 7 || 0%{?fedora} >= 21
%license COPYING
install -pm 0644 COPYING AUTHORS NEWS README.md TODO -t
%{buildroot}%{_pkgdocdir}/

%files
%if 0%{?rhel} >= 7 || 0%{?fedora}
%license COPYING
%endif
%{_pkgdocdir}/
%exclude %{_pkgdocdir}/html/

-- 
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
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]