From b2a454149e55158e53aa21611c93f29987e96a2a Mon Sep 17 00:00:00 2001 From: zhuchunyi Date: Wed, 6 Nov 2019 19:40:17 +0800 Subject: [PATCH] update code --- libtiff.spec | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/libtiff.spec b/libtiff.spec index 954d0fe..f3de0c0 100644 --- a/libtiff.spec +++ b/libtiff.spec @@ -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 - 4.0.10-2 +- Type:enhancement +- Id:NA +- SUG:NA +- DESC:modify the location of COPYRIGHT + * Fri Sep 06 2019 openEuler Buildteam - 4.0.10-1 - Type:Enhance - ID:NA