Spec file cleanup

This commit is contained in:
Robert Scheck 2021-01-21 00:26:30 +00:00
parent d7daf67530
commit 65793e3151

View File

@ -5,8 +5,8 @@ Name: patch
Version: 2.7.6 Version: 2.7.6
Release: 13%{?dist} Release: 13%{?dist}
License: GPLv3+ License: GPLv3+
URL: http://www.gnu.org/software/patch/patch.html URL: https://savannah.gnu.org/projects/patch/
Source: ftp://ftp.gnu.org/gnu/patch/patch-%{version}.tar.xz Source: https://ftp.gnu.org/gnu/patch/patch-%{version}.tar.xz
Patch0: patch-2.7.6-avoid-set_file_attributes-sign-conversion-warnings.patch Patch0: patch-2.7.6-avoid-set_file_attributes-sign-conversion-warnings.patch
patch1: patch-2.7.6-test-suite-compatibility-fixes.patch patch1: patch-2.7.6-test-suite-compatibility-fixes.patch
Patch2: patch-2.7.6-fix-korn-shell-incompatibility.patch Patch2: patch-2.7.6-fix-korn-shell-incompatibility.patch
@ -92,13 +92,12 @@ CFLAGS=`echo $CFLAGS|sed -e 's|-fstack-protector||g'`
%endif %endif
autoreconf autoreconf
%configure --disable-silent-rules %configure --disable-silent-rules
make %{?_smp_mflags} %make_build
%check %check
make check make check
%install %install
rm -rf $RPM_BUILD_ROOT
%makeinstall %makeinstall
%files %files