diff --git a/.gitignore b/.gitignore index 8bbe391..d21d6a7 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /ctor-0.1.23.crate /ctor-0.1.26.crate /ctor-0.2.0.crate +/ctor-0.2.2.crate diff --git a/rust-ctor.spec b/rust-ctor.spec index 2aa5404..4e5575a 100644 --- a/rust-ctor.spec +++ b/rust-ctor.spec @@ -7,7 +7,7 @@ %global crate ctor Name: rust-ctor -Version: 0.2.0 +Version: 0.2.2 Release: %autorelease Summary: __attribute__((constructor)) for Rust @@ -49,6 +49,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+used_linker-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+used_linker-devel %{_description} + +This package contains library source intended for building other packages which +use the "used_linker" feature of the "%{crate}" crate. + +%files -n %{name}+used_linker-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index 4f37e1f..45fbd1d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ctor-0.2.0.crate) = 164cd97123e19df45dfe0ea5da3485e3cf7140b33eb06a8579d23f87dfe0631ab6b8a00a2685c19b06a6f32066674c7664fcfe3b8ad299d3de3eabbb3c9304f7 +SHA512 (ctor-0.2.2.crate) = 4c7fe3232c654387bcbe6bffa00ebd70ad1b174472e705ddf03a4f5931df5356c8afb9ca4e6904cee661ec8d2fc5e96283cad3a19f0494d4175bfc7bc802aacb