Compare commits
1 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| faa921dd5b |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 25 22:40:55 UTC 2025 - Giuliano Belinassi <giuliano.belinassi@suse.com>
|
||||
|
||||
- Add macro that checks if a certain package is the most recent one.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 15:55:53 UTC 2024 - Giuliano Belinassi <giuliano.belinassi@suse.com>
|
||||
|
||||
|
||||
@@ -23,3 +23,7 @@
|
||||
tar -cJf %{tar_lp_package_name} -C ipa-clones --owner root --group root --sort name %{tar_lp_basename} \
|
||||
cp %{tar_lp_package_name} %{_topdir}/OTHER \
|
||||
%endif
|
||||
|
||||
# Macro to make sure we always get the most recent version of a certain
|
||||
# library.
|
||||
%requires_ge_with_release() %{expand:%(t=$(echo '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}-%%{release}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not"); test -n "$t" || echo "%%{error: %%%%{requires_ge_with_release %*} does not resolve}"; echo "$t")}
|
||||
|
||||
Reference in New Issue
Block a user