diff --git a/.gitignore b/.gitignore index 77656fc..64b3d21 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /gobject-sys-0.5.0.crate /gobject-sys-0.6.0.crate /gobject-sys-0.7.0.crate +/gobject-sys-0.8.0.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf index d59e527..adc9674 100644 --- a/.rust2rpm.conf +++ b/.rust2rpm.conf @@ -1,15 +1,7 @@ [DEFAULT] buildrequires = - pkgconfig(gobject-2.0) >= 2.32 + pkgconfig(gobject-2.0) >= 2.42 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 @@ -17,3 +9,5 @@ lib+v2_46.requires = pkgconfig(gobject-2.0) >= 2.46 lib+v2_54.requires = pkgconfig(gobject-2.0) >= 2.54 +lib+v2_58.requires = + pkgconfig(gobject-2.0) >= 2.58 diff --git a/rust-gobject-sys.spec b/rust-gobject-sys.spec index 13efad2..3b8ba6d 100644 --- a/rust-gobject-sys.spec +++ b/rust-gobject-sys.spec @@ -1,13 +1,12 @@ # Generated by rust2rpm -# * Tests are run in infrastructure %bcond_with check %global debug_package %{nil} %global crate gobject-sys Name: rust-%{crate} -Version: 0.7.0 -Release: 4%{?dist} +Version: 0.8.0 +Release: 1%{?dist} Summary: FFI bindings to libgobject-2.0 License: MIT @@ -17,14 +16,14 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -BuildRequires: (crate(glib-sys/default) >= 0.7.0 with crate(glib-sys/default) < 0.8.0) +BuildRequires: (crate(glib-sys/default) >= 0.8.0 with crate(glib-sys/default) < 0.9.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(gobject-2.0) >= 2.32 +BuildRequires: pkgconfig(gobject-2.0) >= 2.42 %global _description \ FFI bindings to libgobject-2.0. @@ -34,7 +33,7 @@ FFI bindings to libgobject-2.0. %package devel Summary: %{summary} BuildArch: noarch -Requires: pkgconfig(gobject-2.0) >= 2.32 +Requires: pkgconfig(gobject-2.0) >= 2.42 %description devel %{_description} @@ -69,58 +68,6 @@ 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 -Requires: pkgconfig(gobject-2.0) >= 2.34 - -%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 -Requires: pkgconfig(gobject-2.0) >= 2.36 - -%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 -Requires: pkgconfig(gobject-2.0) >= 2.38 - -%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_42-devel -Summary: %{summary} -BuildArch: noarch -Requires: pkgconfig(gobject-2.0) >= 2.42 - -%description -n %{name}+v2_42-devel %{_description} - -This package contains library source intended for building other packages -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 @@ -160,6 +107,19 @@ 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_58-devel +Summary: %{summary} +BuildArch: noarch +Requires: pkgconfig(gobject-2.0) >= 2.58 + +%description -n %{name}+v2_58-devel %{_description} + +This package contains library source intended for building other packages +which use "v2_58" feature of "%{crate}" crate. + +%files -n %{name}+v2_58-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -176,6 +136,9 @@ which use "v2_54" feature of "%{crate}" crate. %endif %changelog +* Sun Apr 28 14:01:35 CEST 2019 Igor Gnatenko - 0.8.0-1 +- Update to 0.8.0 + * Tue Feb 12 2019 Igor Gnatenko - 0.7.0-4 - Be more specific with dependencies diff --git a/sources b/sources index 6ea77a5..76a65b9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gobject-sys-0.7.0.crate) = dd978eccf65ee7be3fd8d2b880b46d3c7ace9b74c6e08b3805e2978d546d709723f70e90dc897bcbb303a290b332e5d38f887cbd7eab1d575011ef765fddbfaf +SHA512 (gobject-sys-0.8.0.crate) = 4593797518e3710f976cc6fdd873751cec2159de28fc814ee398147c5318b64d1ffea75a75d4227ea382381420e2b30fb989f81b8611202c1cf7f0b387c5e21a