update code

This commit is contained in:
zhuchunyi 2019-11-06 19:40:17 +08:00
parent 02af2476d5
commit b2a454149e

View File

@ -1,6 +1,6 @@
Name: libtiff
Version: 4.0.10
Release: 1
Release: 2
Summary: TIFF Library and Utilities
License: libtiff
URL: https://www.simplesystems.org/libtiff/
@ -22,8 +22,8 @@ Provides: %{name}-tools
Obsoletes: %{name}-tools
%description
This %{name} provides support for the Tag Image File Format (TIFF), a widely
used format for storing image data. The latest version of the TIFF specification
This %{name} provides support for the Tag Image File Format (TIFF), a widely
used format for storing image data. The latest version of the TIFF specification
is available on-line in several different formats.And contains command-line programs
for manipulating TIFF format image files using the libtiff library.
@ -51,7 +51,7 @@ autoheader
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure --enable-ld-version-script
%configure --enable-ld-version-script
%make_build
%install
@ -67,7 +67,7 @@ case `uname -i` in
;;
*)
wordsize=""
;;
;;
esac
if test -n "$wordsize"
@ -87,7 +87,7 @@ then
# error "unexpected value for __WORDSIZE macro"
#endif
#endif
#endif
EOF
fi
@ -99,7 +99,8 @@ find html -name 'Makefile*' | xargs rm
%files
%defattr(-,root,root)
%doc COPYRIGHT README.md
%license COPYRIGHT
%doc README.md
%{_bindir}/*
%{_libdir}/*.so.*
@ -114,11 +115,17 @@ find html -name 'Makefile*' | xargs rm
%defattr(-,root,root)
%{_mandir}/man*
%doc RELEASE-DATE VERSION
%doc TODO ChangeLog html
%doc TODO ChangeLog html
%exclude %{_mandir}/man1/tiffgt.1
%exclude %{_datadir}/html/man/tiffgt.1.html
%changelog
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.0.10-2
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:modify the location of COPYRIGHT
* Fri Sep 06 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.0.10-1
- Type:Enhance
- ID:NA