diff --git a/README.md b/README.md deleted file mode 100644 index f2292e3..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-temp_testdir - -The rust-temp_testdir package diff --git a/rust-temp_testdir.spec b/rust-temp_testdir.spec index 2401991..3b55f69 100644 --- a/rust-temp_testdir.spec +++ b/rust-temp_testdir.spec @@ -1,29 +1,27 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate temp_testdir -Name: rust-%{crate} +Name: rust-temp_testdir Version: 0.2.3 Release: %autorelease Summary: Little crate to use temp directory in crate # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/temp_testdir Source: %{crates_source} # Add missing license files: https://github.com/la10736/temp_testdir/pull/5 -Source: https://github.com/la10736/temp_testdir/raw/b2ad5cf9a8c38438f7cc9909ec3fe8f37a15771e/LICENSE-APACHE -Source: https://github.com/la10736/temp_testdir/raw/b2ad5cf9a8c38438f7cc9909ec3fe8f37a15771e/LICENSE-MIT - -ExclusiveArch: %{rust_arches} +Source: https://github.com/la10736/temp_testdir/raw/b2ad5cf/LICENSE-APACHE +Source: https://github.com/la10736/temp_testdir/raw/b2ad5cf/LICENSE-MIT BuildRequires: rust-packaging >= 21 %global _description %{expand: -Little crate to use temp directory in crate. You can chose if delete it after -use or not to debugging purpose.} +Little crate to use temp directory in crate. You can chose if delete it +after use or not to debugging purpose.} %description %{_description} @@ -58,7 +56,7 @@ use the "default" feature of the "%{crate}" crate. %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep -cp -p %SOURCE1 %SOURCE2 . +cp -pav %{SOURCE1} %{SOURCE2} . %generate_buildrequires %cargo_generate_buildrequires