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

            A new commit has been pushed.

            Repo   : rpms/rust-glib-sys
            Branch : epel10
            Commit : def60aa6a27c8cf126188862d53e98570db149da
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2019-02-06T10:25:35+01:00
            Stats  : +37/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-glib-sys/c/def60aa6a27c8cf126188862d53e98570db149da?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 aa99a36..fe90d18 100644
--- a/.rust2rpm.conf
+++ b/.rust2rpm.conf
@@ -3,3 +3,25 @@ buildrequires =
   pkgconfig(glib-2.0) >= 2.32
 lib.requires =
   pkgconfig(glib-2.0) >= 2.32
+lib+v2_34.requires =
+  pkgconfig(glib-2.0) >= 2.34
+lib+v2_36.requires =
+  pkgconfig(glib-2.0) >= 2.36
+lib+v2_38.requires =
+  pkgconfig(glib-2.0) >= 2.38
+lib+v2_40.requires =
+  pkgconfig(glib-2.0) >= 2.40
+lib+v2_44.requires =
+  pkgconfig(glib-2.0) >= 2.44
+lib+v2_46.requires =
+  pkgconfig(glib-2.0) >= 2.46
+lib+v2_48.requires =
+  pkgconfig(glib-2.0) >= 2.48
+lib+v2_50.requires =
+  pkgconfig(glib-2.0) >= 2.50
+lib+v2_52.requires =
+  pkgconfig(glib-2.0) >= 2.52
+lib+v2_54.requires =
+  pkgconfig(glib-2.0) >= 2.54
+lib+v2_56.requires =
+  pkgconfig(glib-2.0) >= 2.56

diff --git a/rust-glib-sys.spec b/rust-glib-sys.spec
index 2e0e1d7..e3e68a5 100644
--- a/rust-glib-sys.spec
+++ b/rust-glib-sys.spec
@@ -7,7 +7,7 @@
 
 Name:           rust-%{crate}
 Version:        0.7.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        FFI bindings to libglib-2.0
 
 License:        MIT
@@ -71,6 +71,7 @@ which use "dox" feature of "%{crate}" crate.
 %package     -n %{name}+v2_34-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(glib-2.0) >= 2.34
 
 %description -n %{name}+v2_34-devel %{_description}
 
@@ -83,6 +84,7 @@ which use "v2_34" feature of "%{crate}" crate.
 %package     -n %{name}+v2_36-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(glib-2.0) >= 2.36
 
 %description -n %{name}+v2_36-devel %{_description}
 
@@ -95,6 +97,7 @@ which use "v2_36" feature of "%{crate}" crate.
 %package     -n %{name}+v2_38-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(glib-2.0) >= 2.38
 
 %description -n %{name}+v2_38-devel %{_description}
 
@@ -107,6 +110,7 @@ which use "v2_38" feature of "%{crate}" crate.
 %package     -n %{name}+v2_40-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(glib-2.0) >= 2.40
 
 %description -n %{name}+v2_40-devel %{_description}
 
@@ -119,6 +123,7 @@ which use "v2_40" feature of "%{crate}" crate.
 %package     -n %{name}+v2_44-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(glib-2.0) >= 2.44
 
 %description -n %{name}+v2_44-devel %{_description}
 
@@ -131,6 +136,7 @@ which use "v2_44" feature of "%{crate}" crate.
 %package     -n %{name}+v2_46-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(glib-2.0) >= 2.46
 
 %description -n %{name}+v2_46-devel %{_description}
 
@@ -143,6 +149,7 @@ which use "v2_46" feature of "%{crate}" crate.
 %package     -n %{name}+v2_48-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(glib-2.0) >= 2.48
 
 %description -n %{name}+v2_48-devel %{_description}
 
@@ -155,6 +162,7 @@ which use "v2_48" feature of "%{crate}" crate.
 %package     -n %{name}+v2_50-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(glib-2.0) >= 2.50
 
 %description -n %{name}+v2_50-devel %{_description}
 
@@ -167,6 +175,7 @@ which use "v2_50" feature of "%{crate}" crate.
 %package     -n %{name}+v2_52-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(glib-2.0) >= 2.52
 
 %description -n %{name}+v2_52-devel %{_description}
 
@@ -179,6 +188,7 @@ which use "v2_52" feature of "%{crate}" crate.
 %package     -n %{name}+v2_54-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(glib-2.0) >= 2.54
 
 %description -n %{name}+v2_54-devel %{_description}
 
@@ -191,6 +201,7 @@ which use "v2_54" feature of "%{crate}" crate.
 %package     -n %{name}+v2_56-devel
 Summary:        %{summary}
 BuildArch:      noarch
+Requires:       pkgconfig(glib-2.0) >= 2.56
 
 %description -n %{name}+v2_56-devel %{_description}
 
@@ -216,6 +227,9 @@ which use "v2_56" feature of "%{crate}" crate.
 %endif
 
 %changelog
+* Wed Feb 06 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.0-4
+- Be more precise 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:33 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:33 [rpms/rust-glib-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