Add BR:gcc and spec file modernization
This commit is contained in:
parent
fd744fb265
commit
f76bee311e
@ -8,6 +8,8 @@ URL: http://invisible-island.net/diffstat
|
|||||||
Source0: ftp://ftp.invisible-island.net/pub/diffstat/%{name}-%{version}.tgz
|
Source0: ftp://ftp.invisible-island.net/pub/diffstat/%{name}-%{version}.tgz
|
||||||
# Taken from diffstat.c.
|
# Taken from diffstat.c.
|
||||||
Source1: COPYING
|
Source1: COPYING
|
||||||
|
|
||||||
|
BuildRequires: gcc
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -24,22 +26,25 @@ diff command's output.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%make_install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING CHANGES README
|
%license COPYING
|
||||||
|
%doc CHANGES README
|
||||||
%{_bindir}/diffstat
|
%{_bindir}/diffstat
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 19 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.61-8
|
||||||
|
- Add BR:gcc and spec file modernization
|
||||||
|
|
||||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.61-8
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.61-8
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user