[Bug 1362265] Review Request: yara - Malware identification tool

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

 



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



--- Comment #9 from Antonio Trande <anto.trande@xxxxxxxxx> ---
>- 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@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/package-review@xxxxxxxxxxxxxxxxxxxxxxx




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