You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/terra/srpm.mdx
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,15 +186,15 @@ These are macros used for working with [.desktop files](https://specifications.f
186
186
187
187
### %__desktop_file_edit
188
188
Expands to: `/usr/bin/desktop-file-edit{:rpmspec}`
189
+
Note that this should be used only when [%desktop_file_edit](#desktop_file_edit) can not be used, and that the flags listed for `%desktop_file_edit` will not work.
189
190
190
191
### %__desktop_file_install
191
192
Expands to: `/usr/bin/desktop-file-install{:rpmspec}`
193
+
Note that this should be used only when [%desktop_file_install](#desktop_file_install) can not be used, and that the flags listed for `%desktop_file_install` will not work.
192
194
193
195
### %__desktop_file_validate
194
196
Expands to: `/usr/bin/desktop-file-validate{:rpmspec}`
195
-
196
-
### %__update_desktop_database
197
-
Expands to: `/usr/bin/update-desktop-database{:rpmspec}`
197
+
Note that this should be used only when [%desktop_file_validate](#desktop_file_validate) can not be used, and that the flags listed for `%desktop_file_validate` will not work.
198
198
199
199
### %desktop_file_edit
200
200
SHOULD be used if you for any reason need to edit a .desktop file a build has already installed.
@@ -1340,6 +1340,10 @@ Anda directory for scripts such as `find-develinfo.sh` used by `%__anda_develfil
1340
1340
Expands to: `%_anda_srpm_macros_dir/find-staticinfo.sh %buildroot > anda-staticfiles.list{:rpmspec}`
1341
1341
Creates anda-staticfiles.list file in `%{buildroot}{:rpmspec}` to be used by [`%pkg_static_files`](#pkg_static_files).
1342
1342
1343
+
### %__update_desktop_database
1344
+
Expands to: `/usr/bin/update-desktop-database{:rpmspec}`
1345
+
This is not used as there is no reason not to use `%update_desktop_database`.
1346
+
1343
1347
### %desktop_file_args
1344
1348
This macro is created when using the `-F` option in `%electron_install`. It's used to pass the appropriate Exec arguments to `desktop-file-install` and has no other use.
0 commit comments