mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 18:36:50 +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
|
||||
# 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
|
||||
echo "yes"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue