public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-gio-sys] epel10: Update to 0.7.0
@ 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-gio-sys
            Branch : epel10
            Commit : bdc0c2aa61c852286475bbd3493b42f17e8bc510
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2019-02-05T09:58:07+01:00
            Stats  : +222/-26 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-gio-sys/c/bdc0c2aa61c852286475bbd3493b42f17e8bc510?branch=epel10

            Log:
            Update to 0.7.0

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

---
diff --git a/.rust2rpm.conf b/.rust2rpm.conf
new file mode 100644
index 0000000..128dcd5
--- /dev/null
+++ b/.rust2rpm.conf
@@ -0,0 +1,5 @@
+[DEFAULT]
+buildrequires =
+  pkgconfig(gio-2.0) >= 2.32
+lib.requires =
+  pkgconfig(gio-2.0) >= 2.32

diff --git a/rust-gio-sys.spec b/rust-gio-sys.spec
index d259b09..48ce239 100644
--- a/rust-gio-sys.spec
+++ b/rust-gio-sys.spec
@@ -1,48 +1,221 @@
 # Generated by rust2rpm
-%bcond_without check
+# * Tests are run in infrastructure
+%bcond_with check
 %global debug_package %{nil}
 
-%global gio_min 2.32
-
 %global crate gio-sys
 
 Name:           rust-%{crate}
-Version:        0.6.0
-Release:        3%{?dist}
+Version:        0.7.0
+Release:        1%{?dist}
 Summary:        FFI bindings to libgio-2.0
 
 License:        MIT
 URL:            https://crates.io/crates/gio-sys
-Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
+Source:         %{crates_source}
 
 ExclusiveArch:  %{rust_arches}
 
 BuildRequires:  rust-packaging
-# [dependencies]
-BuildRequires:  (crate(bitflags) >= 1.0.0 with crate(bitflags) < 2.0.0)
-BuildRequires:  (crate(glib-sys) >= 0.6.0 with crate(glib-sys) < 0.7.0)
-BuildRequires:  (crate(gobject-sys) >= 0.6.0 with crate(gobject-sys) < 0.7.0)
-BuildRequires:  (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
-# [build-dependencies]
-BuildRequires:  (crate(pkg-config) >= 0.3.7 with crate(pkg-config) < 0.4.0)
-BuildRequires:  pkgconfig(gio-2.0) >= %{gio_min}
-
-%description
-%{summary}.
+BuildRequires:  (crate(glib-sys/default) >= 0.7.0 with crate(glib-sys/default) < 0.8.0)
+BuildRequires:  (crate(gobject-sys/default) >= 0.7.0 with crate(gobject-sys/default) < 0.8.0)
+BuildRequires:  (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
+BuildRequires:  (crate(pkg-config/default) >= 0.3.7 with crate(pkg-config/default) < 0.4.0)
+%if %{with check}
+BuildRequires:  (crate(shell-words/default) >= 0.1.0 with crate(shell-words/default) < 0.2.0)
+BuildRequires:  (crate(tempdir/default) >= 0.3.0 with crate(tempdir/default) < 0.4.0)
+%endif
+BuildRequires:  pkgconfig(gio-2.0) >= 2.32
+
+%global _description \
+FFI bindings to libgio-2.0.
+
+%description %{_description}
 
 %package        devel
 Summary:        %{summary}
-Requires:       pkgconfig(gio-2.0) >= %{gio_min}
 BuildArch:      noarch
+Requires:       pkgconfig(gio-2.0) >= 2.32
 
-%description    devel
-FFI bindings to libgio-2.0.
+%description    devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files          devel
+%license LICENSE
+%{cargo_registry}/%{crate}-%{version}/
+
+%package     -n %{name}+default-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "default" feature of "%{crate}" crate.
+
+%files       -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package     -n %{name}+dox-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+dox-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "dox" feature of "%{crate}" crate.
+
+%files       -n %{name}+dox-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package     -n %{name}+v2_34-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+v2_34-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "v2_34" feature of "%{crate}" crate.
+
+%files       -n %{name}+v2_34-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package     -n %{name}+v2_36-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+v2_36-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "v2_36" feature of "%{crate}" crate.
+
+%files       -n %{name}+v2_36-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package     -n %{name}+v2_38-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+v2_38-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "v2_38" feature of "%{crate}" crate.
+
+%files       -n %{name}+v2_38-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package     -n %{name}+v2_40-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+v2_40-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "v2_40" feature of "%{crate}" crate.
+
+%files       -n %{name}+v2_40-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package     -n %{name}+v2_42-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+v2_42-devel %{_description}
 
 This package contains library source intended for building other packages
-which use %{crate} from crates.io.
+which use "v2_42" feature of "%{crate}" crate.
+
+%files       -n %{name}+v2_42-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package     -n %{name}+v2_44-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+v2_44-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "v2_44" feature of "%{crate}" crate.
+
+%files       -n %{name}+v2_44-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package     -n %{name}+v2_46-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+v2_46-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "v2_46" feature of "%{crate}" crate.
+
+%files       -n %{name}+v2_46-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package     -n %{name}+v2_48-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+v2_48-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "v2_48" feature of "%{crate}" crate.
+
+%files       -n %{name}+v2_48-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package     -n %{name}+v2_50-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+v2_50-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "v2_50" feature of "%{crate}" crate.
+
+%files       -n %{name}+v2_50-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package     -n %{name}+v2_52-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+v2_52-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "v2_52" feature of "%{crate}" crate.
+
+%files       -n %{name}+v2_52-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package     -n %{name}+v2_54-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+v2_54-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "v2_54" feature of "%{crate}" crate.
+
+%files       -n %{name}+v2_54-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package     -n %{name}+v2_56-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+v2_56-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "v2_56" feature of "%{crate}" crate.
+
+%files       -n %{name}+v2_56-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
 
 %prep
-%autosetup -n %{crate}-%{version} -p1
+%autosetup -n %{crate}-%{version_no_tilde} -p1
 %cargo_prep
 
 %build
@@ -56,11 +229,10 @@ which use %{crate} from crates.io.
 %cargo_test
 %endif
 
-%files          devel
-%license LICENSE
-%{cargo_registry}/%{crate}-%{version}/
-
 %changelog
+* Tue Feb 05 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.0-1
+- Update to 0.7.0
+
 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
 

diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1

diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+  qemu:
+    # `cargo test` usually eats more than 1G.
+    m: 4G

diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..a2b4c92
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+  roles:
+  - role: standard-test-basic
+    tags:
+    - classic
+    repositories:
+    - repo: "https://src.fedoraproject.org/tests/rust.git"
+      dest: rust
+    tests:
+    - rust/cargo-test
+    environment:
+      pkg: rust-gio-sys

^ 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-gio-sys] epel10: Update to 0.7.0 Igor Gnatenko

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