Skip to content

Commit

Permalink
Update sailfishos-chum-gui-installer.rpmlintrc (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Olf0 authored Jan 30, 2023
1 parent 0b4a785 commit 2f19511
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions rpm/sailfishos-chum-gui-installer.rpmlintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

# On behalf of Jolla's tar_git / SailfishOS-OBS:
# - It re-writes the DistURL, rendering it inconsistent
addFilter('invalid-url DistURL')
addFilter('invalid-url DistURL obs:')
# - It has a limited list of FLOSS-licenses, most SDPX-IDs are missing
addFilter('invalid-license')
# - It extracts strange changelog entries out of Git, if a %%changelog section is used
addFilter('incoherent-version-in-changelog')
# - It sometimes re-writes the %version-%release strings of package names,
# when referencing (only) a branch (i.e., not a git tag), for example,
# 0.5.2-1 to 0.5.2+rebuild1+main.20230129011931.1.g584263a-1.8.1.jolla
# 0.5.2-1 to 0.5.2+main.20230129011931.1.g584263a-1.8.1.jolla
addFilter('filename-too-long-for-joliet')

# On behalf of the SailfishOS:Chum specification:
Expand All @@ -30,13 +30,10 @@ setBadness('description-line-too-long', 0)
addFilter('obsolete-not-provided sailfishos-chum')
addFilter('unversioned Obsoletes: Obsoletes: *sailfishos-chum')
# - This is how it ought to be, too
addFilter('obsolete-not-provided sailfishos-chum-testing')
addFilter('unversioned Obsoletes: Obsoletes: *sailfishos-chum-testing')
# - This is also how it ought to be
addFilter('non-standard-gid /usr/bin/.* ssu')
# - So ist this: We shall not be executable by everyone, only the root user and the group ssu
# - So is this: We shall not be executable by everyone, only the root user and the group ssu
addFilter('non-standard-executable-perm /usr/bin/.* 754')
setBadness('non-standard-executable-perm', 0)
# - Also this: It is in a comment!
addFilter('dangerous-command-in-%post rm')
# - This is also how it ought to be: It is in a comment!
addFilter('dangerous-command-in-%post[un]* rm')

0 comments on commit 2f19511

Please sign in to comment.