[Bug 489686] Review Request: armadillo - fast C++ matrix library with interfaces to LAPACK and ATLAS

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 8 16:48:10 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


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





--- Comment #33 from Conrad Sanderson <conradsand at ieee.org>  2009-06-08 12:48:08 EDT ---
(In reply to comment #32)
> In this case duplication may be alright, another option is to sed the link to
> point to %{_datadir}/doc/%{name}-%{version}/LICENSE.txt.  

We have two possible solutions:
(1) keep the spec file as is
(2) remove "LICENSE.txt" and "licenses" from -devel and add the following lines
to the spec file:

%post devel
/sbin/ldconfig
ln -s %{_docdir}/%{name}-%{version}/LICENSE.txt
%{_docdir}/%{name}-devel-%{version}/LICENSE.txt
ln -s %{_docdir}/%{name}-%{version}/licenses
%{_docdir}/%{name}-devel-%{version}/licenses

%preun devel
rm %{_docdir}/%{name}-devel-%{version}/LICENSE.txt
rm -r %{_docdir}/%{name}-devel-%{version}/licenses


Solution (2) saves about 43 Kb in disk space, but it's messier (post-install
and pre-uninstall scriptlets).

I'd vote for solution (1) as it's cleaner, but I'm also happy to go with (2) if
that's what people prefer.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list