public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-gobject-sys] epel10: Be more precise with dependencies
@ 2026-09-25 10:35 Igor Gnatenko
  0 siblings, 0 replies; only message in thread
From: Igor Gnatenko @ 2026-09-25 10:35 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-gobject-sys
            Branch : epel10
            Commit : fe95a85c1bbf87ed96d01dc901c989241cdb84d6
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2019-02-12T10:20:06+01:00
            Stats  : +25/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-gobject-sys/c/fe95a85c1bbf87ed96d01dc901c989241cdb84d6?branch=epel10

            Log:
            Be more precise with dependencies

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

---
diff --git a/.rust2rpm.conf b/.rust2rpm.conf
index 3ea8be7..d59e527 100644
--- a/.rust2rpm.conf
+++ b/.rust2rpm.conf
@@ -3,3 +3,17 @@ buildrequires =
   pkgconfig(gobject-2.0) >= 2.32
 lib.requires =
   pkgconfig(gobject-2.0) >= 2.32
+lib+v2_34.requires =
+  pkgconfig(gobject-2.0) >= 2.34
+lib+v2_36.requires =
+  pkgconfig(gobject-2.0) >= 2.36
+lib+v2_38.requires =
+  pkgconfig(gobject-2.0) >= 2.38
+lib+v2_42.requires =
+  pkgconfig(gobject-2.0) >= 2.42
+lib+v2_44.requires =
+  pkgconfig(gobject-2.0) >= 2.44
+lib+v2_46.requires =
+  pkgconfig(gobject-2.0) >= 2.46
+lib+v2_54.requires =
+  pkgconfig(gobject-2.0) >= 2.54

diff --git a/rust-gobject-sys.spec b/rust-gobject-sys.spec
index 2526bc1..13efad2 100644
--- a/rust-gobject-sys.spec
+++ b/rust-gobject-sys.spec
@@ -7,7 +7,7 @@
 
 Name:           rust-%{crate}
 Version:        0.7.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        FFI bindings to libgobject-2.0
 
 License:        MIT
@@ -72,6 +72,7 @@ which use "dox" feature of "%{crate}" crate.
 %package     -n %{name}+v2_34-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(gobject-2.0) >= 2.34
 
 %description -n %{name}+v2_34-devel %{_description}
 
@@ -84,6 +85,7 @@ which use "v2_34" feature of "%{crate}" crate.
 %package     -n %{name}+v2_36-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(gobject-2.0) >= 2.36
 
 %description -n %{name}+v2_36-devel %{_description}
 
@@ -96,6 +98,7 @@ which use "v2_36" feature of "%{crate}" crate.
 %package     -n %{name}+v2_38-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(gobject-2.0) >= 2.38
 
 %description -n %{name}+v2_38-devel %{_description}
 
@@ -108,6 +111,7 @@ which use "v2_38" feature of "%{crate}" crate.
 %package     -n %{name}+v2_42-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(gobject-2.0) >= 2.42
 
 %description -n %{name}+v2_42-devel %{_description}
 
@@ -120,6 +124,7 @@ which use "v2_42" feature of "%{crate}" crate.
 %package     -n %{name}+v2_44-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(gobject-2.0) >= 2.44
 
 %description -n %{name}+v2_44-devel %{_description}
 
@@ -132,6 +137,7 @@ which use "v2_44" feature of "%{crate}" crate.
 %package     -n %{name}+v2_46-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(gobject-2.0) >= 2.46
 
 %description -n %{name}+v2_46-devel %{_description}
 
@@ -144,6 +150,7 @@ which use "v2_46" feature of "%{crate}" crate.
 %package     -n %{name}+v2_54-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(gobject-2.0) >= 2.54
 
 %description -n %{name}+v2_54-devel %{_description}
 
@@ -169,6 +176,9 @@ which use "v2_54" feature of "%{crate}" crate.
 %endif
 
 %changelog
+* Tue Feb 12 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.0-4
+- Be more specific with dependencies
+
 * Tue Feb 05 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.0-3
 - Adapt to new packaging
 

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

only message in thread, other threads:[~2026-09-25 10:35 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:35 [rpms/rust-gobject-sys] epel10: Be more precise with dependencies Igor Gnatenko

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