[Bug 1264686] Review Request: itpp - C++ library for math, signal/speech processing, and communications

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

 



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



--- Comment #3 from Antonio Trande <anto.trande@xxxxxxxxx> ---
>> - All documentation files are easily packaged by using '%doc'.
>I did not used %doc because "use of %doc with relative paths and installation >of files directly into %_pkgdocdir in the same source package is forbidden" >(https://fedoraproject.org/wiki/Packaging:Guidelines#Documentation). Indeed, >using %doc under the %files section caused the automatic inclusion of >%{_pkgdocdir} in the main packet, resulting in html documentation both in itpp >and itpp-doc. So, what is the common practice in this case?

Prevent installation of documentation or remove the directory automatically
created.

%install
make -C build install DESTDIR=%{buildroot}
##Removing the documentation directory automatically created.
rm -rf %{buildroot}%{_pkgdocdir}

%check
LD_LIBRARY_PATH=$PWD/build/itpp build/gtests/itpp_gtests

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%{_libdir}/%{libname}.so.*
%{_datadir}/%{name}/
%doc AUTHORS ChangeLog NEWS README VERSION
%license COPYING

%files devel
%{_bindir}/itpp-config
%{_mandir}/man1/itpp-config*
%{_includedir}/%{name}
%{_libdir}/pkgconfig/itpp.pc
%{_libdir}/%{libname}.so

%files doc
%license COPYING
%doc 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://admin.fedoraproject.org/mailman/listinfo/package-review




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