mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-12-01 03:32:55 +00:00
Fix copr check
Per https://docs.pagure.org/copr.copr/user_documentation.html#rpm-macros the `%copr_username` macro includes `@` at the start.
This commit is contained in:
parent
626da9456a
commit
d3496ff556
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
# We assume that we're building a snapshot if the if the build happens
|
# We assume that we're building a snapshot if the if the build happens
|
||||||
# in Copr and the project has this prefix: @fedora-llvm-team/llvm-snapshots-
|
# in Copr and the project has this prefix: @fedora-llvm-team/llvm-snapshots-
|
||||||
%global copr_snapshot_build_detected %(/bin/bash -fc 'if [[ "%{?copr_username}/%{?copr_projectname}" == fedora-llvm-team/llvm-snapshots-* ]];
|
%global copr_snapshot_build_detected %(/bin/bash -fc 'if [[ "%{?copr_username}/%{?copr_projectname}" == @fedora-llvm-team/llvm-snapshots-* ]];
|
||||||
then
|
then
|
||||||
echo "yes"
|
echo "yes"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue