summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2022-01-14 18:54:26 -0800
committerMichel Alexandre Salim <salimma@fedoraproject.org>2022-01-14 18:54:57 -0800
commit774280b00bf7419bded8d1f826a7d6fc708b9542 (patch)
tree5f1aebc1f9806664fa5ab5e28354c789430c414e
parent6fc8f61046c0c3f0ab186d1e7f0bb70cdc530a92 (diff)
downloadspecs-774280b00bf7419bded8d1f826a7d6fc708b9542.tar.gz
specs-774280b00bf7419bded8d1f826a7d6fc708b9542.tar.xz
specs-774280b00bf7419bded8d1f826a7d6fc708b9542.zip
cpputest: remove unneeded comment section
pkg.sh: make it more flexible by passing arguments behind Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
-rw-r--r--devtools/cpputest.spec3
-rwxr-xr-xrust/pkg.sh2
2 files changed, 1 insertions, 4 deletions
diff --git a/devtools/cpputest.spec b/devtools/cpputest.spec
index 73042c8..77a4dff 100644
--- a/devtools/cpputest.spec
+++ b/devtools/cpputest.spec
@@ -1,6 +1,3 @@
-# static build only, no debuginfo
-#%%global debug_package %%{nil}
-
%global forgeurl https://github.com/cpputest/cpputest
Name: cpputest
diff --git a/rust/pkg.sh b/rust/pkg.sh
index 8aecd1d..9315ed8 100755
--- a/rust/pkg.sh
+++ b/rust/pkg.sh
@@ -7,7 +7,7 @@ set -o pipefail
CRATE=$1
shift
-rust2rpm -s $@ ${CRATE}
+rust2rpm -s ${CRATE} $@
mv ${CRATE}*.crate ~/rpmbuild/SOURCES/
PATCH=${CRATE}-fix-metadata.diff
[ -f ${PATCH} ] && mv ${PATCH} ~/rpmbuild/SOURCES/