[package]
name = "rpm-builder"
version = "0.4.0"
authors = [
    "Daniel Alley <dalley@redhat.com",
    "Rene Richter <richterrettich@gmail.com>",
]
edition = "2024"
license = "Apache-2.0"
homepage = "https://github.com/rpm-rs/rpm-builder"
repository = "https://github.com/rpm-rs/rpm-builder"
keywords = ["RPM", "packaging"]
categories = ["parsing", "development-tools"]
description = "A simple Rust CLI utility for creating simple RPMs"

[dependencies]
rpm = { version = "0.22.0", default-features = false, features = ["zstd-compression", "gzip-compression", "signature-pgp"] }
clap_derive = { version = "4.6" }
chrono = "0.4"
regex = "1"
clap = "4.6"
anyhow = "1.0"

[dev-dependencies]
assert_cmd = "2.2"
tempdir = "0.3"
predicates = "3.1"
pretty_assertions = "1.4"

[package.metadata.generate-rpm]
assets = [
    { source = "target/release/rpm-builder", dest = "/usr/bin/rpm-builder", mode = "755" },
]

[profile.release]
strip="debuginfo"
lto = "thin"

[profile.rpm]
inherits = "release"
strip = "debuginfo"
