diff --git a/.gitignore b/.gitignore index 717dee9..04b1406 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /cxxbridge-macro-0.5.10.crate /cxxbridge-macro-1.0.49.crate /cxxbridge-macro-1.0.56.crate +/cxxbridge-macro-1.0.57.crate diff --git a/rust-cxxbridge-macro.spec b/rust-cxxbridge-macro.spec index 3cf71f9..f41b0fa 100644 --- a/rust-cxxbridge-macro.spec +++ b/rust-cxxbridge-macro.spec @@ -1,14 +1,13 @@ -# Generated by rust2rpm 16 -# --with=check introduces cyclic dependency with cxx -%bcond_with check +# Generated by rust2rpm 20 +%bcond_without check %global debug_package %{nil} %global crate cxxbridge-macro Name: rust-%{crate} -Version: 1.0.56 -Release: %{autorelease} -Summary: Implementation detail of the `cxx` crate +Version: 1.0.57 +Release: %autorelease +Summary: Implementation detail of the cxx crate # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 @@ -16,9 +15,6 @@ URL: https://crates.io/crates/cxxbridge-macro Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -33,12 +29,11 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-APACHE -%license LICENSE-MIT +%license LICENSE-APACHE LICENSE-MIT %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -47,12 +42,84 @@ 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. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+clang-ast-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+clang-ast-devel %{_description} + +This package contains library source intended for building other packages which +use the "clang-ast" feature of the "%{crate}" crate. + +%files -n %{name}+clang-ast-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+experimental-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+experimental-devel %{_description} + +This package contains library source intended for building other packages which +use the "experimental" feature of the "%{crate}" crate. + +%files -n %{name}+experimental-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+flate2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+flate2-devel %{_description} + +This package contains library source intended for building other packages which +use the "flate2" feature of the "%{crate}" crate. + +%files -n %{name}+flate2-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+memmap-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+memmap-devel %{_description} + +This package contains library source intended for building other packages which +use the "memmap" feature of the "%{crate}" crate. + +%files -n %{name}+memmap-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+serde_json-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde_json-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde_json" feature of the "%{crate}" crate. + +%files -n %{name}+serde_json-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index 6d10123..5368612 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cxxbridge-macro-1.0.56.crate) = b3de53d6b705c367dd6b4a0439b1cbe9cb70e94ace65700c02caf95e2bdb194eb0addfd70008c9efc125cfb7b7ed0a03a49ab6c85ac724311b938901e7945ead +SHA512 (cxxbridge-macro-1.0.57.crate) = 72dc3bfdcde0d5e5c96c6c4772e3b90847a25255c15a4e7d5e91db4f8c52dbbc11d625a0e86acd4c3b988040de7c0ba2f245ae79de92c2d1321b10d242ea3d2d