diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e9cb34f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ctor-0.2.6.crate diff --git a/.rust-ctor.metadata b/.rust-ctor.metadata index e69de29..1a5f13d 100644 --- a/.rust-ctor.metadata +++ b/.rust-ctor.metadata @@ -0,0 +1 @@ +98e9ec9c01a88fa69bd3f7c59b2964f2797fa379 SOURCES/ctor-0.2.6.crate diff --git a/SOURCES/ctor-0.2.5.crate b/SOURCES/ctor-0.2.5.crate deleted file mode 100644 index 2244350..0000000 Binary files a/SOURCES/ctor-0.2.5.crate and /dev/null differ diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..16af3a5 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,7 @@ +[tests] +run = ["none"] +comments = [ + "no tests are shipped with the published crates", + "example code adds an unnecessary dependency on libc-print (not packaged)", +] + diff --git a/SPECS/rust-ctor.spec b/SPECS/rust-ctor.spec index 0b3cef0..75ba7d4 100644 --- a/SPECS/rust-ctor.spec +++ b/SPECS/rust-ctor.spec @@ -8,7 +8,7 @@ }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * no tests are shipped with the published crates # * example code adds an unnecessary dependency on libc-print (not packaged) %bcond_with check @@ -17,7 +17,7 @@ %global crate ctor Name: rust-ctor -Version: 0.2.5 +Version: 0.2.6 Release: %autorelease Summary: __attribute__((constructor)) for Rust @@ -25,7 +25,7 @@ License: Apache-2.0 OR MIT URL: https://crates.io/crates/ctor Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: __attribute__((constructor)) for Rust.} @@ -72,7 +72,7 @@ use the "used_linker" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires @@ -90,9 +90,12 @@ use the "used_linker" feature of the "%{crate}" crate. %endif %changelog -* Mon Jan 15 2024 Arkady L. Shane - 0.2.5-1 +* Mon Jan 15 2024 Arkady L. Shane - 0.2.6-1 - Rebuilt for MSVSphere 9.3 +* Thu Jan 11 2024 Fabio Valentini - 0.2.6-1 +- Update to version 0.2.6; Fixes RHBZ#2254123 + * Wed Sep 27 2023 Fabio Valentini - 0.2.5-1 - Update to version 0.2.5; Fixes RHBZ#2240821