Compare commits
3 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 6f43238cfd | |||
| f9c2237be2 | |||
| 2c3a5e77e8 |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 25 22:21:54 UTC 2025 - Giuliano Belinassi <giuliano.belinassi@suse.com>
|
||||
|
||||
- Add macro that checks if a certain package is the most recent one.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 2 20:27:16 UTC 2025 - Giuliano Belinassi <giuliano.belinassi@suse.com>
|
||||
|
||||
|
||||
@@ -26,3 +26,7 @@ end }
|
||||
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