## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %bcond rebuild_mans 1 # As of 1.2.3, cannot autoreconf due to: # configure:14538: error: undefined or overquoted macro: gl_PTHREADLIB # configure:14651: error: undefined or overquoted macro: gl_WEAK_SYMBOLS # configure:15859: error: undefined or overquoted macro: gl_TYPE_WINT_T_PREREQ %bcond autoreconf 0 Name: wdiff Version: 1.2.3 Release: %autorelease Summary: Compare files on a word per word basis # Entire source is GPL-3.0-or-later, except: # # Latex2e: # wdiff.texi and the documentation built from it, including info, HTML, and # PDF documentation, to include doc/wdiff.info in the source tree. # LGPL-2.0-or-later: # lib/_Noreturn.h # lib/arg-nonnull.h # lib/c++defs.h # lib/warn-on-use.h # LGPL-2.1-or-later: # the entire contents of lib/, except: # - those listed as LGPL-2.0-or-later, above # - lib/Makefile.{am,in}, which are build-system files and are documented # above SourceLicense, and # - the following, which are GPL-3.0-or-later: # lib/xalloc-die.c lib/xalloc.h lib/xmalloc.c # lib/*/*.* License: %{shrink: GPL-3.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND Latex2e } # Additionally, build-system files do not contribute to the licenses of the # binary RPMs, and some of these are under other licenses: # # FSFAP: # AUTHORS # config.h.in (inasmuch as it is derived from configure.ac, which is # explicitly so licensed) # configure.ac # INSTALL # Makefile.am # README # THANKS # TODO # doc/Makefile.am # man/Makefile.am # po/POTFILES.in # src/Makefile.am # FSFAP AND FSFULLRWD: (Each is documented as FSFULLRWD, but derived from a # corresponding Makefile.am that is FSFAP.) # Makefile.in # doc/Makefile.in # man/Makefile.in # src/Makefile.in # FSFAP-no-warranty-disclaimer: # configure # build-aux/config.rpath # FSFUL: # tests/testsuite # FSFULLR AND FSFULLRWD: # aclocal.m4 # FSFULLRWD AND GPL-3.0-or-later WITH Autoconf-exception-generic: # lib/Makefile.in # FSFULLRWD: # m4/*, except: # - m4/gnulib-cache.m4 # - m4/gnulib-comp.m4 # - m4/init-package-version.m4 # GPL-2.0-or-later: # build-aux/gnupload # GPL-2.0-or-later WITH Autoconf-exception-generic: # build-aux/compile # build-aux/depcomp # build-aux/mdate-sh # build-aux/missing # m4/init-package-version.m4 # GPL-3.0-or-later WITH Autoconf-exception-generic: # lib/Makefile.am # m4/gnulib-cache.m4 # m4/gnulib-comp.m4 # GPL-3.0-or-later WITH Autoconf-exception-generic-3.0: # build-aux/config.guess # build-aux/config.sub # GPL-3.0-or-later WITH Texinfo-exception: # build-aux/texinfo.tex # X11 AND LicenseRef-Fedora-Public-Domain: # build-aux/install (“FSF changes to this file are in the public domain.”) SourceLicense: %{shrink: %{license} AND FSFAP AND FSFAP-no-warranty-disclaimer AND FSFUL AND FSFULLR AND FSFULLRWD AND GPL-2.0-or-later AND GPL-2.0-or-later WITH Autoconf-exception-generic AND GPL-3.0-or-later WITH Autoconf-exception-generic AND GPL-3.0-or-later WITH Autoconf-exception-generic-3.0 AND GPL-3.0-or-later WITH Texinfo-exception AND LicenseRef-Fedora-Public-Domain AND X11 } URL: https://www.gnu.org/software/wdiff Source0: https://ftp.gnu.org/gnu/wdiff/wdiff-%{version}.tar.gz Source1: https://ftp.gnu.org/gnu/wdiff/wdiff-%{version}.tar.gz.sig # Fetched 2026-08-13: Source2: https://ftp.gnu.org/gnu/gnu-keyring.gpg # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: gcc BuildRequires: make %if %{with autoreconf} BuildRequires: automake BuildRequires: autoconf BuildRequires: libtool %endif BuildRequires: gettext-devel BuildRequires: ncurses-devel BuildRequires: help2man BuildRequires: texinfo BuildRequires: texinfo-tex BuildRequires: tex(latex) BuildRequires: gpgverify # https://fedorahosted.org/fpc/ticket/174 # Unclear which version of gnulib is currently bundled. Provides: bundled(gnulib) %description The GNU wdiff program is a front end to diff for comparing files on a word per word basis. A word is anything between whitespace. This is useful for comparing two texts in which a few words have been changed and for which paragraphs have been refilled. It works by creating two temporary files, one word per line, and then executes diff on these files. It collects the diff output and uses it to produce a nicer display of word differences between the original files. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -p1 %conf %if %{with autoreconf} autoreconf --force --install --verbose %endif %configure --enable-experimental="mdiff wdiff2 unify" %build %make_build all %if %{with rebuild_mans} rm --verbose man/mdiff.1 man/wdiff.1 man/wdiff2.1 man/unify.1 %make_build --directory=man mdiff.1 wdiff.1 wdiff2.1 unify.1 %endif # Make sure we rebuild the info page too. rm --verbose doc/wdiff.info %make_build --directory=doc info html pdf %install %make_install find '%{buildroot}' -type f -name '*gnulib.mo' -print -delete rm '%{buildroot}%{_infodir}/dir' install --directory '%{buildroot}%{_pkgdocdir}' install --preserve-timestamp --mode=0644 --target='%{buildroot}%{_pkgdocdir}' \ ABOUT-NLS AUTHORS BACKLOG ChangeLog NEWS README THANKS TODO cp --recursive --preserve doc/wdiff.html '%{buildroot}%{_pkgdocdir}/html' %find_lang wdiff %check %make_build check %files -f wdiff.lang %license COPYING %{_bindir}/mdiff %{_bindir}/wdiff %{_bindir}/wdiff2 %{_bindir}/unify %{_mandir}/man1/mdiff.1* %{_mandir}/man1/wdiff.1* %{_mandir}/man1/wdiff2.1* %{_mandir}/man1/unify.1* %{_infodir}/wdiff.info.* %{_pkgdocdir}/ %changelog ## START: Generated by rpmautospec * Thu Aug 13 2026 Benjamin A. Beasley - 1.2.3-2 - F45+: Drop i686 support (leaf package) * Thu Aug 13 2026 Benjamin A. Beasley - 1.2.3-1 - Update to 1.2.3 (close RHBZ#2514931) - Improve License expression and add SourceLicense * Fri Jul 17 2026 Fedora Release Engineering - 1.2.2-59 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Mon May 25 2026 Benjamin A. Beasley - 1.2.2-58 - Use various long options * Thu Jan 29 2026 Benjamin A. Beasley - 1.2.2-57 - Depend on gpgverify rather than gnupg2 for source file verification * Sat Jan 17 2026 Fedora Release Engineering - 1.2.2-56 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Jul 25 2025 Fedora Release Engineering - 1.2.2-55 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jan 21 2025 Benjamin A. Beasley - 1.2.2-54 - Patch for GCC 15 / C23 * Sun Jan 19 2025 Fedora Release Engineering - 1.2.2-53 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sun Nov 03 2024 Benjamin A. Beasley - 1.2.2-52 - Invoke autoreconf and configure in %%conf rather than in %%build * Sat Jul 20 2024 Fedora Release Engineering - 1.2.2-51 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jan 27 2024 Fedora Release Engineering - 1.2.2-50 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 1.2.2-49 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jun 18 2023 Benjamin A. Beasley - 1.2.2-48 - Use new (rpm 4.17.1+) bcond style * Sat Jan 21 2023 Fedora Release Engineering - 1.2.2-47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Dec 22 2022 Benjamin A. Beasley - 1.2.2-46 - Indicate dirs. in files list with trailing slashes * Tue Nov 29 2022 Benjamin A. Beasley - 1.2.2-45 - Update License to SPDX * Sat Jul 23 2022 Fedora Release Engineering - 1.2.2-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 1.2.2-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Oct 09 2021 Benjamin A. Beasley - 1.2.2-42 - Reduce spec file macro indirection * Fri Oct 08 2021 Benjamin A. Beasley - 1.2.2-41 - Fix unreadable BACKLOG and ChangeLog files * Mon Feb 08 2021 Benjamin A. Beasley - 1.2.2-19 - Work around no “install -D” support in EPEL7 * Mon Feb 08 2021 Benjamin A. Beasley - 1.2.2-18 - Improve summary and description text - Build HTML and PDF versions of the documentation - Add Latex2e to License field * Sun Feb 07 2021 Benjamin A. Beasley - 1.2.2-17 - Change URLs from HTTP to HTTPS - Add source file signature verification - Use %%make_build and %%make_install macros - Reformatting and minor changes for personal style preference - Fix man page glob - Use less broad globs - Add ABOUT-NLS, BACKLOG, and THANKS as %%doc files - Rebuild configure script at build time - Add a %%check section and run the tests - Add ncurses-devel BR for termcap/curses support - Add missing BR on gcc - Rebuild man pages in RPM build - Properly install license file (COPYING) * Wed Jan 27 2021 Fedora Release Engineering - 1.2.2-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.2.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jan 31 2020 Fedora Release Engineering - 1.2.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jul 27 2019 Fedora Release Engineering - 1.2.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Apr 24 2019 Björn Esser - 1.2.2-12 - Remove hardcoded gzip suffix from GNU info pages * Sun Feb 03 2019 Fedora Release Engineering - 1.2.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.2.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.2.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.2.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.2.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 1.2.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 1.2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Aug 18 2014 Fedora Release Engineering - 1.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Apr 18 2014 Praveen Kumar 1.2.2-1 - New release * Sun Aug 04 2013 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Mar 14 2013 Praveen Kumar 1.2.1-1 - New release * Fri Feb 15 2013 Fedora Release Engineering - 1.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Jul 22 2012 Fedora Release Engineering - 1.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue May 29 2012 Praveen Kumar 1.1.2-1 - New release and fixed no bundled library issue * Sat Jan 14 2012 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Nov 16 2011 Praveen Kumar 1.1.0-1 - New release * Thu Oct 20 2011 Praveen Kumar 1.0.1-1 - New release * Thu Sep 8 2011 Praveen Kumar 1.0.0-1 - New release * Fri Mar 4 2011 Praveen Kumar 0.6.5-5 - Fix change log issue * Tue Mar 1 2011 Praveen Kumar 0.6.5-4 - Add find language tag * Tue Mar 1 2011 Praveen Kumar 0.6.5-3 - Removed unnecessary -gnulib translation files. - Rpmlint warning fixed for ChangeLog not utf8 file. - Adding %%doc files * Tue Mar 1 2011 Praveen Kumar 0.6.5-2 - Fix license,buildroot issue. Add find language tag. * Tue Mar 1 2011 Praveen Kumar 0.6.5-1 - Initial version of the package ## END: Generated by rpmautospec