Skip to content

Commit 219bc17

Browse files
authored
Make PM3-PR #296 slightly more compact
… primarily by eliminating the (seemingly) unrelated `# MEDIA_URL SERVER_URL "/" MEDIA_PATH` , see #296
1 parent 7a4aca4 commit 219bc17

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

rpm/patchmanager.spec

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@
55
%{!?qtc_make:%define qtc_make make}
66
%{!?qmake5_install:%define qmake5_install make install INSTALL_ROOT=%{buildroot}}
77

8-
# override defines:
9-
# defined in src/bin/patchmanager-daemon/patchmanagerobject.h
10-
# src/qml/webcatalog.h:
11-
#
8+
# Override these defines in both (!):
9+
# - src/bin/patchmanager-daemon/patchmanagerobject.h
10+
# - src/qml/webcatalog.h
1211
# SERVER_URL "https://coderus.openrepos.net"
1312
# API_PATH "pm2/api"
1413
# CATALOG_URL SERVER_URL "/" API_PATH
15-
# MEDIA_URL SERVER_URL "/" MEDIA_PATH
16-
1714
%global catalog_server https://coderus.openrepos.net
1815
%global catalog_api_uri pm2/api
1916
%define catalog_defines -DSERVER_URL=%{catalog_server} -DAPI_PATH=%{catalog_api_uri}

0 commit comments

Comments
 (0)