diff --git a/diffstat-1.61.tgz b/diffstat-1.61.tgz deleted file mode 100644 index c4f3272546bef33c46baf88c0affda8fd2084372..0000000000000000000000000000000000000000 Binary files a/diffstat-1.61.tgz and /dev/null differ diff --git a/diffstat-1.64.tgz b/diffstat-1.64.tgz new file mode 100644 index 0000000000000000000000000000000000000000..3abb5bf915cbd30146a44f933f58eea0003eed66 Binary files /dev/null and b/diffstat-1.64.tgz differ diff --git a/diffstat.spec b/diffstat.spec index 0cc39bfd084912aeebb150f18c6bc7e336a09f91..3b62727053b4392c68752b920d0fe60c6a6ae44b 100644 --- a/diffstat.spec +++ b/diffstat.spec @@ -1,18 +1,16 @@ -%define anolis_release .0.1 - Summary: A utility which provides statistics based on the output of diff Name: diffstat -Version: 1.61 -Release: 7%{anolis_release}%{?dist} -Group: Development/Tools +Version: 1.64 +Release: 6%{?dist} License: MIT -URL: http://invisible-island.net/diffstat -Source0: ftp://ftp.invisible-island.net/pub/diffstat/%{name}-%{version}.tgz +URL: https://invisible-island.net/diffstat +Source0: https://invisible-mirror.net/archives/diffstat/%{name}-%{version}.tgz # Taken from diffstat.c. Source1: COPYING + +BuildRequires: gcc BuildRequires: xz -Requires: glibc -Provides: /usr/bin/%{name} +BuildRequires: make %description The diff command compares files line by line. Diffstat reads the @@ -23,40 +21,63 @@ to provide a summary of the changes in large, complex patch files. Install diffstat if you need a program which provides a summary of the diff command's output. -%package doc -Summary: Documents for %{name} -BuildArch: noarch -Requires: %{name} = %{version}-%{release} - -%description doc -Doc pages for %{name}. - %prep %setup -q %build %configure -make %{?_smp_mflags} +%make_build %install -rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install +%make_install cp %{SOURCE1} . %check make check %files -%defattr(-,root,root,-) +%license COPYING +%doc CHANGES README %{_bindir}/diffstat %{_mandir}/*/* -%files doc -%doc COPYING CHANGES README - %changelog -* Sat Jul 16 2022 Zhao Hang - 1.61-7.0.1 -- Add doc sub package +* Mon Aug 09 2021 Mohan Boddu - 1.64-6 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Thu Apr 15 2021 Mohan Boddu - 1.64-5 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Jan 26 2021 Fedora Release Engineering - 1.64-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jan 13 2021 Tim Waugh - 1.64-1 +- Update to 1.64. + +* Mon Jul 27 2020 Fedora Release Engineering - 1.63-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jan 28 2020 Fedora Release Engineering - 1.63-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Dec 2 2019 Tim Waugh - 1.63-1 +- Update to 1.63 (bug #1778338) + +* Wed Jul 24 2019 Fedora Release Engineering - 1.62-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 1.62-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Aug 16 2018 Tim Waugh - 1.62-1 +- Update to 1.62 (bug #1618046) + +* Thu Jul 19 2018 Zbigniew Jędrzejewski-Szmek - 1.61-8 +- Add BR:gcc and spec file modernization + +* Thu Jul 12 2018 Fedora Release Engineering - 1.61-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 21 2018 Than Ngo - 1.61-7 - fixed source url