diff --git a/libtiff.spec b/libtiff.spec index 8e3ae84..eef746d 100644 --- a/libtiff.spec +++ b/libtiff.spec @@ -1,6 +1,6 @@ Name: libtiff Version: 4.3.0 -Release: 4 +Release: 5 Summary: TIFF Library and Utilities License: libtiff URL: https://www.simplesystems.org/libtiff/ @@ -76,7 +76,20 @@ if test -n "$wordsize" then mv %{buildroot}/%{_includedir}/tiffconf.h %{buildroot}/%{_includedir}/tiffconf-$wordsize.h cat >%{buildroot}/%{_includedir}/tiffconf.h < + +#if __WORDSIZE == 32 +# include "tiffconf-32.h" +#elif __WORDSIZE == 64 +# include "tiffconf-64.h" +#else +# error "unexpected value for __WORDSIZE macro" +#endif + +#endif EOF fi @@ -114,6 +127,9 @@ find html -name 'Makefile*' | xargs rm %exclude %{_datadir}/html/man/tiffgt.1.html %changelog +* Fri Dec 24 2021 liuyumeng - 4.3.0-5 +- fix the dependency package connot find TIFF_SSIZE_T in tiffio.h + * Wed Dec 15 2021 liuyumeng - 4.3.0-4 - fix raw2tiff floating point exception