https://bugzilla.redhat.com/show_bug.cgi?id=1854729



--- Comment #1 from Gris Ge <[email protected]> ---
The rust crates src rpm is created by this script:


```bash
#!/bin/bash -ex

mkdir rust-$1 || true
cd rust-$1
rust2rpm -s $1
cp *.crate ~/rpmbuild/SOURCES/
sed -i -e's/bcond_without/bcond_with/' rust-$1.spec
sed -i -e'/%doc ..\/README.md/d' rust-$1.spec
rpmbuild -bs rust-$1.spec
scp ~/rpmbuild/SRPMS/rust-$1*.src.rpm gris-laptop:/tmp

```

Notes: 
 * Disabled the `check` as it will introduce a long list of dependent crates.
 * Removed the `%doc ..README.md` as that is does not exists.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to