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



--- Comment #9 from Antonio Trande <anto.tra...@gmail.com> ---
>- Build HTML documentation
I have created subpackage doc with the HTML documentation

It is a noarch package and do not need to require main package; therefore 

Requires:       %{name}%{?_isa} = %{version}-%{release}

is not needed. And you must add a "BuildArch: noarch" line.
Also, if you want provide yara-doc as standalone package, then it must provide
its own license file.


> #install the html documentation
> mkdir -p %{buildroot}%{_datadir}/doc/%{name}/
> cp -rp docs/_build/html %{buildroot}%{_datadir}/doc/%{name}/
> rm -f %{buildroot}%{_datadir}/doc/%{name}/html/.buildinfo

is a surplus, is sufficient to list that directory with %doc.

%files doc
%defattr(-,root,root,-)  <-- permissions are set automatically
%doc docs/_build/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@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/package-review@lists.fedoraproject.org

Reply via email to