Compare commits
13 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ab2a0fc8a | ||
|
|
7f2acaa050 | ||
|
|
6463041fd0 | ||
|
|
bfc1a09f46 | ||
|
|
6508a4d798 | ||
|
|
ee69f0d61c | ||
|
|
8102430b9f | ||
|
|
15f910de8a | ||
|
|
1a60513f24 | ||
|
|
5f83a5354e | ||
|
|
6e1df0f4b8 | ||
|
|
2cf7a781a3 | ||
|
|
89ee891c82 |
2 changed files with 12 additions and 18 deletions
7
wcd.rpmlintrc
Normal file
7
wcd.rpmlintrc
Normal file
|
|
@ -0,0 +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 ")
|
||||
23
wcd.spec
23
wcd.spec
|
|
@ -69,7 +69,7 @@ was written by Brad Kingsbury.
|
|||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for wcs
|
||||
Summary: Documentation for wcd
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
|
@ -86,34 +86,21 @@ plain-text documentation files, changelogs, and so on.
|
|||
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
%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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue