diff --git a/wcd.rpmlintrc b/wcd.rpmlintrc index ea6bc1d..bd5f629 100644 --- a/wcd.rpmlintrc +++ b/wcd.rpmlintrc @@ -1,2 +1,7 @@ # 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 ") diff --git a/wcd.spec b/wcd.spec index 1cc7967..7941421 100644 --- a/wcd.spec +++ b/wcd.spec @@ -86,33 +86,21 @@ plain-text documentation files, changelogs, and so on. %build -%make_build -C src %{wcd_opts} +%make_build --directory=src %{wcd_opts} %install -%make_install install-profile -C src %{wcd_opts} +%make_install install-profile --directory=src %{wcd_opts} %find_lang wcd --with-man -%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 + +# Upstream does not provide any tests %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