3 Commits

Author SHA256 Message Date
6f43238cfd Accepting request 1307231 from devel:tools
- Add macro that checks if a certain package is the most recent one.

OBS-URL: https://build.opensuse.org/request/show/1307231
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ulp-macros?expand=0&rev=7
2025-09-29 14:30:35 +00:00
f9c2237be2 Accepting request 1307230 from home:gbelinassi
- Add macro that checks if a certain package is the most recent one.

OBS-URL: https://build.opensuse.org/request/show/1307230
OBS-URL: https://build.opensuse.org/package/show/devel:tools/ulp-macros?expand=0&rev=18
2025-09-25 23:15:01 +00:00
2c3a5e77e8 Accepting request 1307226 from home:gbelinassi
- Add macro that checks if a certain package is the most recent one.

OBS-URL: https://build.opensuse.org/request/show/1307226
OBS-URL: https://build.opensuse.org/package/show/devel:tools/ulp-macros?expand=0&rev=17
2025-09-25 22:24:40 +00:00
2 changed files with 9 additions and 0 deletions

View File

@@ -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>

View File

@@ -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")}