mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix: anda-srpm-macros (#764)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Name: anda-srpm-macros
|
||||
Version: 0.1.4
|
||||
Version: 0.1.5
|
||||
Release: 1%{?dist}
|
||||
Summary: SRPM macros for extra Fedora packages
|
||||
|
||||
|
||||
@@ -2,6 +2,13 @@
|
||||
set -eu \
|
||||
%{__mkdir} -p .cargo \
|
||||
cat > .cargo/config << EOF \
|
||||
[profile.rpm]\
|
||||
inherits = "release"\
|
||||
opt-level = 3\
|
||||
codegen-units = 1\
|
||||
debug = 2\
|
||||
strip = "none"\
|
||||
\
|
||||
[build]\
|
||||
rustc = "%{__rustc}"\
|
||||
rustdoc = "%{__rustdoc}"\
|
||||
@@ -25,4 +32,4 @@ directory = "%{cargo_registry}"\
|
||||
EOF\
|
||||
%{__rm} -f Cargo.lock \
|
||||
%{__rm} -f Cargo.toml.orig \
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user