forked from pool/diffutils
fb5d411703
+ Bug fixes - diff no longer reports spurious differences merely because two entries in the same directory have names that compare equal in the current locale, or compare equal because --ignore-file-name-case was given. OBS-URL: https://build.opensuse.org/package/show/Base:System/diffutils?expand=0&rev=13
71 lines
1.8 KiB
RPMSpec
71 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package diffutils (Version 3.1)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: diffutils
|
|
Url: http://www.gnu.org/software/diffutils/
|
|
License: GFDLv1.2 ; GPLv3+
|
|
Group: Productivity/Text/Utilities
|
|
Provides: diff
|
|
Obsoletes: diff
|
|
PreReq: %{install_info_prereq}
|
|
Version: 3.1
|
|
Release: 1
|
|
Summary: GNU diff Utilities
|
|
Source: %{name}-%{version}.tar.xz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: xz
|
|
|
|
%description
|
|
The GNU diff utilities find differences between files. diff is used to
|
|
make source code patches, for instance.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
gzip -9 %{buildroot}%{_infodir}/%{name}.info
|
|
%find_lang %name
|
|
|
|
%post
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
%postun
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f %name.lang
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING NEWS README THANKS
|
|
%{_bindir}/cmp
|
|
%{_bindir}/diff
|
|
%{_bindir}/diff3
|
|
%{_bindir}/sdiff
|
|
%doc %{_infodir}/%{name}.info.gz
|
|
%doc %{_mandir}/man1/*.gz
|
|
|
|
%changelog
|