Skip to content

Commit 65b9426

Browse files
committed
Ship copyright and license files with split crates
Now that `procfs` and `procfs-core` are individual crates located in subdirectories of the repo, make sure the copyright and license texts are symlinked so they get packaged when the crates are published. Also fix typoo in COPYRIGHT.txt ``` michel in procfs/procfs-core on  add-license [!?] via 🐍 v3.11.6 (.venv311) via 🦀 v1.73.0 ⬢ [fedora-toolbox:38] ❯ cargo package --allow-dirty --no-verify Packaging procfs-core v0.16.0 (/home/michel/src/github/eminence/procfs/procfs-core) Packaged 32 files, 329.5KiB (78.3KiB compressed) michel in procfs/procfs-core on  add-license [!?] via 🐍 v3.11.6 (.venv311) via 🦀 v1.73.0 ⬢ [fedora-toolbox:38] ❯ bsdtar tf ../target/package/procfs-core-0.16.0.crate | grep COPYRIGHT procfs-core-0.16.0/COPYRIGHT.txt michel in procfs/procfs-core on  add-license [!?] via 🐍 v3.11.6 (.venv311) via 🦀 v1.73.0 ⬢ [fedora-toolbox:38] ❯ bsdtar tf ../target/package/procfs-core-0.16.0.crate | grep LICENSE procfs-core-0.16.0/LICENSE-APACHE procfs-core-0.16.0/LICENSE-MIT ``` ``` michel in procfs/procfs on  add-license [?] via 🐍 v3.11.6 (.venv311) via 🦀 v1.73.0 ⬢ [fedora-toolbox:38] ❯ cargo package --allow-dirty --no-verify Packaging procfs v0.16.0 (/home/michel/src/github/eminence/procfs/procfs) Updating crates.io index Packaged 48 files, 266.1KiB (71.7KiB compressed) michel in procfs/procfs on  add-license [?] via 🐍 v3.11.6 (.venv311) via 🦀 v1.73.0 took 2s ⬢ [fedora-toolbox:38] ❯ bsdtar tf ../target/package/procfs-0.16.0.crate | grep COPYRIGHT procfs-0.16.0/COPYRIGHT.txt michel in procfs/procfs on  add-license [?] via 🐍 v3.11.6 (.venv311) via 🦀 v1.73.0 ⬢ [fedora-toolbox:38] ❯ bsdtar tf ../target/package/procfs-0.16.0.crate | grep LICENSE procfs-0.16.0/LICENSE-APACHE procfs-0.16.0/LICENSE-MIT ``` Signed-off-by: Michel Lind <[email protected]>
1 parent b153b78 commit 65b9426

7 files changed

+7
-1
lines changed

COPYRIGHT.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The source code for the procfs library is copyright by Andrew Chin, 2019, and other contributors.
22

3-
It is icensed under either of
3+
It is licensed under either of
44

55
* Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0
66
* MIT license, http://opensource.org/licenses/MIT

procfs-core/COPYRIGHT.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../COPYRIGHT.txt

procfs-core/LICENSE-APACHE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE-APACHE

procfs-core/LICENSE-MIT

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE-MIT

procfs/COPYRIGHT.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../COPYRIGHT.txt

procfs/LICENSE-APACHE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE-APACHE

procfs/LICENSE-MIT

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE-MIT

0 commit comments

Comments
 (0)