OSDN Git Service

Fixed some
authorHe Chenlan <210hcl@gmail.com>
Fri, 5 Feb 2021 05:29:15 +0000 (13:29 +0800)
committerHe Chenlan <210hcl@gmail.com>
Fri, 5 Feb 2021 05:29:15 +0000 (13:29 +0800)
diffutils.spec

index 19341c5..bc5143f 100644 (file)
@@ -2,17 +2,11 @@ Name:           diffutils
 Version:        3.7
 Release:        0
 Summary:        GNU diff Utilities
-License:        GFDL-1.2-only AND GPL-3.0-or-later
+License:        GFDLv1.2 AND GPLv3.0+
 Group:          Productivity/Text/Utilities
 URL:            https://www.gnu.org/software/diffutils/
 Source0:        https://mirrors.ustc.edu.cn/%{name}/%{name}-%{version}.tar.xz
 Source1:        https://mirrors.ustc.edu.cn/%{name}/%{name}-%{version}.tar.xz.sig
-Source2:        %{name}.keyring
-Patch0:         gnulib-test-avoid-FP-perror-strerror.patch
-Requires(pre):  %{install_info_prereq}
-Requires(preun): %{install_info_prereq}
-Provides:       diff = %{version}
-Obsoletes:      diff < %{version}
 
 %description
 The GNU diff utilities find differences between files. diff is used to
@@ -24,9 +18,7 @@ make source code patches, for instance.
 %autosetup -p1
 
 %build
-%configure \
-  --with-packager="openSUSE" \
-  --with-packager-bug-reports="http://bugs.opensuse.org/"
+%configure
 make %{?_smp_mflags} V=1
 
 %check
@@ -40,12 +32,6 @@ make %{?_smp_mflags} check
 %make_install
 %find_lang %{name}
 
-%post
-%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
-
-%preun
-%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
-
 %files
 %license COPYING
 %doc AUTHORS NEWS README THANKS