• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rpm-software-management / spec-cleaner / 42356766279
99%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2026 08:45AM UTC
Jobs 5
Files 23
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Nov 2026 08:44AM UTC coverage: 99.391% (+0.02%) from 99.367%
42356766279

push

github

scarabeusiv
rpmpreamble: fix backslash-continued dependency joining

Join a continued dependency with a space when neither side has
whitespace at the seam, so `foo \` + `bar` stays two dependencies
instead of gluing into `foobar`.

Keep the continuation open across a comment-only line and carry its
comment onto the joined line: flushing would drop the dependency
that follows the comment, while keeping it open preserves the
author's evident intent.

A plain one-line conditional such as `%{?foo:bar}` is a macro
fragment and joins; only the with-dependency and with-define forms
break the continuation. A `#!` dep pragma continues like a plain
tag, and the comment split takes the earlier of `#` / `%dnl`, so a
`%dnl` inside a `#` comment (and vice versa) stays comment text.
Carried and trailing comments keep their original order.

Replace the near-duplicate dep-backslash-continuation acceptance
fixtures with a parametrized unit test covering the join/flush
matrix; the canonical continuation and dangling fixtures stay as
the full-pipeline cases. Put the flush on the shared output path
and guard the per-line comment split with a cheap backslash check.

39 of 39 new or added lines in 2 files covered. (100.0%)

4 existing lines in 2 files now uncovered.

3266 of 3286 relevant lines covered (99.39%)

4.97 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
99.65
0.19% spec_cleaner/rpmpreamble.py
1
99.35
-0.22% spec_cleaner/rpmpreambleelements.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.15 - 42356766279.1 07 Nov 2026 08:45AM UTC 23
99.39
GitHub Action Run
2 python-3.12 - 42356766279.2 07 Nov 2026 08:45AM UTC 23
99.39
GitHub Action Run
3 python-3.14 - 42356766279.3 07 Nov 2026 08:45AM UTC 23
99.39
GitHub Action Run
4 python-3.13 - 42356766279.4 07 Nov 2026 08:45AM UTC 23
99.39
GitHub Action Run
5 python-3.11 - 42356766279.5 07 Nov 2026 08:45AM UTC 23
99.39
GitHub Action Run
Source Files on build 42356766279
  • Tree
  • List 23
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42356766279
  • c55c6fcc on github
  • Prev Build on master (#42263883721)
  • Next Build on master (#42838919455)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc