public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-cairo-sys-rs] epel10: Simplify dependency for glib feature
@ 2026-09-25 10:32 Igor Raits
  0 siblings, 0 replies; only message in thread
From: Igor Raits @ 2026-09-25 10:32 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-cairo-sys-rs
            Branch : epel10
            Commit : e27897e9352588b3854c41d5dcd015fa19d8ef1f
            Author : Igor Raits <ignatenkobrain@fedoraproject.org>
            Date   : 2020-02-18T03:03:29+01:00
            Stats  : +2/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-cairo-sys-rs/c/e27897e9352588b3854c41d5dcd015fa19d8ef1f?branch=epel10

            Log:
            Simplify dependency for glib feature

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>

---
diff --git a/.rust2rpm.conf b/.rust2rpm.conf
index 9d42350..0c7e7fc 100644
--- a/.rust2rpm.conf
+++ b/.rust2rpm.conf
@@ -8,4 +8,4 @@ lib+v1_14.requires =
 lib+v1_16.requires =
   pkgconfig(cairo) >= 1.16
 lib+use_glib.requires =
-  (((pkgconfig(cairo-gobject) >= 1.16 if crate(cairo-sys-rs/v1_16)) and (pkgconfig(cairo-gobject) >= 1.14 if crate(cairo-sys-rs/v1_14))) if (crate(cairo-sys-rs/v1_16) or crate(cairo-sys-rs/v1_14)) else pkgconfig(cairo-gobject) >= 1.12)
+  ((pkgconfig(cairo-gobject) >= 1.16 if crate(cairo-sys-rs/v1_16)) and (pkgconfig(cairo-gobject) >= 1.14 if crate(cairo-sys-rs/v1_14)) and pkgconfig(cairo-gobject) >= 1.12)

diff --git a/rust-cairo-sys-rs.spec b/rust-cairo-sys-rs.spec
index b5ce7db..acc6c53 100644
--- a/rust-cairo-sys-rs.spec
+++ b/rust-cairo-sys-rs.spec
@@ -130,7 +130,7 @@ which use "svg" feature of "%{crate}" crate.
 %package     -n %{name}+use_glib-devel
 Summary:        %{summary}
 BuildArch:      noarch
-Requires:       (((pkgconfig(cairo-gobject) >= 1.16 if crate(cairo-sys-rs/v1_16)) and (pkgconfig(cairo-gobject) >= 1.14 if crate(cairo-sys-rs/v1_14))) if (crate(cairo-sys-rs/v1_16) or crate(cairo-sys-rs/v1_14)) else pkgconfig(cairo-gobject) >= 1.12)
+Requires:       ((pkgconfig(cairo-gobject) >= 1.16 if crate(cairo-sys-rs/v1_16)) and (pkgconfig(cairo-gobject) >= 1.14 if crate(cairo-sys-rs/v1_14)) and pkgconfig(cairo-gobject) >= 1.12)
 
 %description -n %{name}+use_glib-devel %{_description}
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-25 10:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 10:32 [rpms/rust-cairo-sys-rs] epel10: Simplify dependency for glib feature Igor Raits

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox