Accepting request 358265 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/358265 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffutils?expand=0&rev=32
This commit is contained in:
parent
a7a5be9af0
commit
04b4dd1b58
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 4 09:29:27 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Make building more verbose
|
||||||
|
- Move info page removal to preun
|
||||||
|
- Cleanup spec file with spec-cleaner
|
||||||
|
- Update provides/obsoletes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 6 10:13:58 UTC 2015 - coolo@suse.com
|
Mon Jul 6 10:13:58 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package diffutils
|
# spec file for package diffutils
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,24 +17,23 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: diffutils
|
Name: diffutils
|
||||||
Url: http://www.gnu.org/software/diffutils/
|
|
||||||
Provides: diff
|
|
||||||
Obsoletes: diff
|
|
||||||
PreReq: %{install_info_prereq}
|
|
||||||
Version: 3.3
|
Version: 3.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: GNU diff Utilities
|
Summary: GNU diff Utilities
|
||||||
License: GFDL-1.2 and GPL-3.0+
|
License: GFDL-1.2 and GPL-3.0+
|
||||||
Group: Productivity/Text/Utilities
|
Group: Productivity/Text/Utilities
|
||||||
Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
Url: https://www.gnu.org/software/diffutils/
|
||||||
Source1: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
|
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
||||||
|
Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
|
||||||
# http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=diffutils
|
# http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=diffutils
|
||||||
Source2: %name.keyring
|
Source2: %{name}.keyring
|
||||||
Patch0: gnulib-perl522.patch
|
Patch0: gnulib-perl522.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
# will be check by source service
|
|
||||||
#BuildRequires: gpg-offline
|
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
Requires(pre): %{install_info_prereq}
|
||||||
|
Requires(preun): %{install_info_prereq}
|
||||||
|
Provides: diff = %{version}
|
||||||
|
Obsoletes: diff < %{version}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The GNU diff utilities find differences between files. diff is used to
|
The GNU diff utilities find differences between files. diff is used to
|
||||||
@ -45,22 +44,22 @@ make source code patches, for instance.
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%optflags -fPIE"
|
export CFLAGS="%{optflags} -fPIE"
|
||||||
export LDFLAGS="-pie"
|
export LDFLAGS="-pie"
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
gzip -9 %{buildroot}%{_infodir}/%{name}.info
|
gzip -9 %{buildroot}%{_infodir}/%{name}.info
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
%postun
|
%preun
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -70,7 +69,10 @@ gzip -9 %{buildroot}%{_infodir}/%{name}.info
|
|||||||
%{_bindir}/diff
|
%{_bindir}/diff
|
||||||
%{_bindir}/diff3
|
%{_bindir}/diff3
|
||||||
%{_bindir}/sdiff
|
%{_bindir}/sdiff
|
||||||
%doc %{_infodir}/%{name}.info.gz
|
%{_infodir}/diffutils.info.*
|
||||||
%doc %{_mandir}/man1/*.gz
|
%{_mandir}/man1/cmp.1%{ext_man}
|
||||||
|
%{_mandir}/man1/diff.1%{ext_man}
|
||||||
|
%{_mandir}/man1/diff3.1%{ext_man}
|
||||||
|
%{_mandir}/man1/sdiff.1%{ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user