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

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

 



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@xxxxxxxx>  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.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

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