packaging: publish as neiam-ppl

dc41247 · Gabriel Morell · 2026-10-15 03:45

4 files +8 -1
Message
{commit_body(@commit)}

Files changed

modified .github/workflows/rust-ci.yml
+3 −1
@@ -194,7 +194,7 @@ jobs:
194 194 # Debian / Ubuntu
195 195 curl -fsSL $FORGE_URL/pkg/_keys/deb/$OWNER | sudo tee /etc/apt/keyrings/$OWNER.asc >/dev/null
196 196 echo "deb [signed-by=/etc/apt/keyrings/$OWNER.asc] $FORGE_URL/pkg/deb/$OWNER/_all stable main" | sudo tee /etc/apt/sources.list.d/$OWNER.list
197 − sudo apt update && sudo apt install ppl
197 + sudo apt update && sudo apt install neiam-ppl
198 198
199 199 # Fedora / RHEL / openSUSE — /etc/yum.repos.d/$OWNER.repo
200 200 [$OWNER]
@@ -206,6 +206,8 @@ jobs:
206 206 # signs the index, not what it was handed.
207 207 gpgcheck=0
208 208 gpgkey=$FORGE_URL/pkg/_keys/rpm/$OWNER
209 +
210 + sudo dnf install neiam-ppl # or: sudo zypper install neiam-ppl
209 211 EOF
210 212
211 213 - name: Upload test artifact
modified Cargo.toml
+5 −0
@@ -7,7 +7,11 @@ authors = ["Gabe <gabe@neiam.org>"]
7 7 license = "GPLv3"
8 8
9 9
10 +# Packaged as neiam-ppl: the crate and binary stay `ppl`, but a package
11 +# named `ppl` collides with the Parma Polyhedra Library in Fedora and
12 +# with other `ppl` packages published to the same namespace repository.
10 13 [package.metadata.deb]
14 +name = "neiam-ppl"
11 15 assets = [
12 16 # target/release path is special, and gets replaced by cargo-deb with the actual target dir path.
13 17 ["target/release/ppl", "usr/bin/", "755"],
@@ -18,6 +22,7 @@ section = "utility"
18 22 license-file = ["LICENSE.md", "4"]
19 23
20 24 [package.metadata.generate-rpm]
25 +name = "neiam-ppl"
21 26 assets = [
22 27 { source = "target/release/ppl", dest = "/usr/bin/ppl", mode = "0755" },
23 28 { source = "LICENSE.md", dest = "/usr/share/doc/neiam-ppl/LICENSE", doc = true, mode = "0644" },

Parents: ac9f55f