Skip to content

Commit

Permalink
Pass client_id and client_secret to qmake if defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Thaodan committed Jul 17, 2021
1 parent 24fe428 commit bcb9796
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rpm/harbour-piepmatz.spec
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ Piepmatz is a Twitter client for Sailfish OS

%build

%qtc_qmake5
%qtc_qmake5 \
%{?piepmatz_twitter_client_id: TWITTER_CLIENT_ID=%{piepmatz_twitter_client_id}} \
%{?piepmatz_twitter_client_secret: TWITTER_CLIENT_SECRET=%{piepmatz_twitter_client_secret}}

%qtc_make %{?_smp_mflags}

%qtc_make %{?_smp_mflags}

%install
%qmake5_install
Expand Down

0 comments on commit bcb9796

Please sign in to comment.