Compare commits

..

No commits in common. "rawhide" and "f37" have entirely different histories.

2 changed files with 18 additions and 12 deletions

View file

@ -1,7 +0,0 @@
# Not real spelling errors
addFilter(r" spelling-error \('(chdir|[Cc]hangelogs?)',")
# Intentional, with a justifying spec-file comment
addFilter(r" no-%check-section")
# We would have to use email to report the new remote-only status of the FSF
# upstream. Maybe we will do this at some point.
addFilter(r" incorrect-fsf-address ")

View file

@ -69,7 +69,7 @@ was written by Brad Kingsbury.
%package doc
Summary: Documentation for wcd
Summary: Documentation for wcs
BuildArch: noarch
@ -86,21 +86,34 @@ plain-text documentation files, changelogs, and so on.
%build
%make_build --directory=src %{wcd_opts}
%set_build_flags
%make_build -C src %{wcd_opts}
%install
%make_install install-profile --directory=src %{wcd_opts}
%make_install install-profile -C src %{wcd_opts}
%find_lang wcd --with-man
# Upstream does not provide any tests
%if 0%{?fedora} && 0%{?fedora} < 39
# Historically, this package accepted the upstream default of building the
# binary as wcd.exe, and the spec file contained claims that the name of the
# binary might change periodically and that this was not important.
#
# We feel that this was misguided: the name of the command that users type is
# *very* important, and it should match system conventions. We maintain the old
# name as a symbolic link for compatibility.
ln -s wcd '%{buildroot}%{_bindir}/wcd.exe'
%endif
%files -f wcd.lang
%license %{_pkgdocdir}/copying.txt
%{_bindir}/wcd
%if 0%{?fedora} && 0%{?fedora} < 39
# See the comment in %%install.
%{_bindir}/wcd.exe
%endif
%{_mandir}/man1/wcd.1*
%config(noreplace) %{_sysconfdir}/profile.d/wcd.sh