[Bug 1567898] Review Request: tomsfastmath - fast large integer arithmetic library

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

 



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

Robert-André Mauchin <zebob.m@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zebob.m@xxxxxxxxx



--- Comment #1 from Robert-André Mauchin <zebob.m@xxxxxxxxx> ---
 - The program is dual licensed:

License:    Public Domain or WTFPL

 - Not needed:

Requires(post):    /sbin/ldconfig
Requires(postun):/sbin/ldconfig 

 - Don't use

mkdir -p %{buildroot}%{_docdir}/tfm

install -p -m0644 -D doc/tfm.pdf %{buildroot}%{_docdir}/tfm
install -p -m0644 -D LICENSE %{buildroot}%{_docdir}/tfm

  Just install the files in %files:

%doc doc/tfm.pdf
%license LICENSE

 - Use the new ldconfig_scriptlets instead of

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

   See
https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets#Upgrade.2Fcompatibility_impact

 - Make a symlink for the unversionned library:

pushd %{buildroot}%{_libdir}
ln -s libtfm.so.1.0.0 libtfm.so.1
ln -s libtfm.so.1.0.0 libtfm.so
popd

   And install it in the devel subpackage:

%files devel
%{_includedir}/tfm.h
%{_libdir}/libtfm.so

 - Install the tomsfastmath.pc file in %{_libdir}/pkgconfig/ and add it to the
devel subpackage:

sed -e 's,^Version:.*,Version: %{version},' tomsfastmath.pc.in >
tomsfastmath.pc
mkdir -p %{buildroot}%{_libdir}/pkgconfig
install -p -m 0644 -D tomsfastmath.pc %{buildroot}%{_libdir}/pkgconfig/

   And

%files devel
%{_includedir}/tfm.h
%{_libdir}/libtfm.so
%{_libdir}/pkgconfig/tomsfastmath.pc

-- 
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
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux