Bug 2492219

Summary: Review Request: rust-mdbook - Creates a book from markdown files
Product: [Fedora] Fedora Reporter: Fabio Valentini <decathorpe>
Component: Package ReviewAssignee: Neal Gompa <ngompa13>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ngompa13, package-review
Target Milestone: ---Flags: ngompa13: fedora-review+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://crates.io/crates/mdbook
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-07-07 14:12:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2492212    
Bug Blocks:    

Description Fabio Valentini 2026-06-24 15:01:52 UTC
Spec URL: https://decathorpe.fedorapeople.org/rust-mdbook.spec
SRPM URL: https://decathorpe.fedorapeople.org/rust-mdbook-0.5.3-1.fc44.src.rpm
Upstream URL: https://crates.io/crates/mdbook

Description:
Creates a book from markdown files.

Fedora Account System Username: decathorpe

Comment 1 Fabio Valentini 2026-06-24 15:02:53 UTC
rust2rpm.toml configuration:

```
[package]
cargo-toml-patch-comments = [
    "drop missing select dev-dependency and tests that depend on it",
]
exclude-crate-files = [
    "ci/",
    "tests/",
    "eslint.config.mjs",
    "package.json",
    "rustfmt.toml",
    "triagebot.toml",
]
bin-package-extra = """\
# embedded JavaScript libraries (bundled in mdbook-html):
# * front-end/js/clipboard.min.js: MIT
Provides:       bundled(clipboard.js) = 2.0.4
# * front-end/js/highlight.js: BSD-3-Clause
Provides:       bundled(highlight.js) = 10.1.1
# * front-end/playground_editor/ace.js: BSD-3-Clause
Provides:       bundled(ace.js)
# * front-end/searcher/elasticlunr.min.js: MIT
Provides:       bundled(elasticlunr.js) = 0.9.5
# * front-end/searcher/mark.min.js: MIT
Provides:       bundled(mark.js) = 8.11.1
"""

[[package.extra-patches]]
number = 2
file = "0001-Remove-references-to-TOC-tests-that-depend-on-the-se.patch"
comments = ["remove references to TOC tests that depend on the \"select\" crate"]

[requires]
bin = [
    # unbundled fonts
    "open-sans-fonts",
    "adobe-source-code-pro-fonts",
]

[tests]
skip = [
    "init::copy_theme",
    "theme::default_fonts",
    "theme::theme_fonts_copied",
    "remove_emphasis_works",
]
skip-exact = true
comments = [
    "skip a test that relies on input files not included in the published crate",
    "skip tests that fail due to fonts that are unbundled from mdbook-html",
]
```

Comment 2 Fedora Review Service 2026-06-25 00:42:29 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10647230
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2492219-rust-mdbook/fedora-rawhide-x86_64/10647230-rust-mdbook/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 3 Neal Gompa 2026-07-07 11:20:22 UTC
Package was generated with rust2rpm, simplifying the review.

✅ package contains only permissible content
✅ package builds and installs without errors on rawhide
✅ test suite is run and all unit tests pass
✅ latest version packaged
✅ license matches upstream specification and is acceptable for Fedora
✅ license file is included with %license in %files
✅ package complies with Rust Packaging Guidelines

Package APPROVED.

===

Recommended post-import tasks:

- set up package on release-monitoring.org:

- add @rust-sig with "commit" access as package co-maintainer
  (should happen automatically)

- track package in koschei for all built branches
  (should happen automatically once rust-sig is co-maintainer)

Comment 4 Fedora Admin user for bugzilla script actions 2026-07-07 11:28:29 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-mdbook
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`

Comment 5 Fedora Update System 2026-07-07 13:53:36 UTC
FEDORA-2026-8d55629828 (rust-mdbook-0.5.3-2.fc45, rust-mdbook-driver-0.5.3-1.fc45, and 1 more) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-8d55629828

Comment 6 Fedora Update System 2026-07-07 14:12:50 UTC
FEDORA-2026-8d55629828 (rust-mdbook-0.5.3-2.fc45, rust-mdbook-driver-0.5.3-1.fc45, and 1 more) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.