openssh.spec fixes reported by 'rpmlint' #40
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Those commits fix some warnings reported by 'rpmlint', version 1.8-6.
Before the changes:
$ rpmlint contrib/redhat/openssh.spec
openssh.spec:83: W: unversioned-explicit-obsoletes ssh
openssh.spec:111: W: unversioned-explicit-obsoletes ssh-clients
openssh.spec:116: W: unversioned-explicit-obsoletes ssh-server
openssh.spec:126: W: unversioned-explicit-obsoletes ssh-extras
openssh.spec:132: W: unversioned-explicit-obsoletes ssh-extras
openssh.spec:260: W: mixed-use-of-spaces-and-tabs (spaces: line 260, tab: line 192)
openssh.spec: E: specfile-error warning: bogus date in %changelog: Wed Oct 01 2002 Damien Miller djm@mindrot.org
openssh.spec: E: specfile-error warning: bogus date in %changelog: Sun Dec 29 2001 Nalin Dahyabhai nalin@redhat.com
0 packages and 1 specfiles checked; 2 errors, 6 warnings.
After the changes:
$ rpmlint contrib/redhat/openssh.spec
openssh.spec: W: invalid-url Source1: http://www.jmknoble.net/software/x11-ssh-askpass/x11-ssh-askpass-1.2.4.1.tar.gz <urlopen error [Errno -5] No address associated with hostname>
openssh.spec: W: invalid-url Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.2p1.tar.gz <urlopen error ftp error: ConnectionRefusedError(111, 'Connection refused')>
0 packages and 1 specfiles checked; 0 errors, 2 warnings.