Fix changelog and source permissions

epel9
Simone Caronni 12 years ago
parent fe1e6ed346
commit 54c3dd9ca6

@ -1,6 +1,6 @@
Name: libtommath Name: libtommath
Version: 0.42.0 Version: 0.42.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: A portable number theoretic multiple-precision integer library Summary: A portable number theoretic multiple-precision integer library
License: Public Domain License: Public Domain
URL: http://www.libtom.org/?page=features&newsitems=5&whatfile=ltm URL: http://www.libtom.org/?page=features&newsitems=5&whatfile=ltm
@ -65,9 +65,12 @@ make %{?_smp_mflags} -f makefile poster manual docs
export INSTALL_USER=$(id -un) export INSTALL_USER=$(id -un)
export INSTALL_GROUP=$(id -gn) export INSTALL_GROUP=$(id -gn)
make install INCPATH=%{_includedir}/tommath DESTDIR=%{buildroot} LIBPATH=%{_libdir} -f makefile.shared make install INCPATH=%{_includedir}/tommath DESTDIR=%{buildroot} LIBPATH=%{_libdir} -f makefile.shared
find %{buildroot} -name '*.h' -exec chmod 644 {} ';'
find %{buildroot} -name '*.c' -exec chmod 644 {} ';
chmod 644 LICENSE
find %{buildroot} -name '*.la' -delete find %{buildroot} -name '*.la' -delete
find %{buildroot} -name '*.a' -delete find %{buildroot} -name '*.a' -delete
find %{buildroot} -name '*.h' -exec chmod 644 {} ';'
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -85,7 +88,11 @@ find %{buildroot} -name '*.h' -exec chmod 644 {} ';'
%doc bn.pdf poster.pdf tommath.pdf %doc bn.pdf poster.pdf tommath.pdf
%changelog %changelog
* Thu Aug 08 2013 Simone Caronni <negativo17@gmail.com> - 0.42-1 * Thu Aug 08 2013 Simone Caronni <negativo17@gmail.com> - 0.42.0-2
- Fix changelog entries.
- Remove executable bits from LICENSE file and source files.
* Thu Aug 08 2013 Simone Caronni <negativo17@gmail.com> - 0.42.0-1
- Update to 0.42. - Update to 0.42.
- Make doc package noarch and not requiring base package. - Make doc package noarch and not requiring base package.

Loading…
Cancel
Save