diff --git a/.gitignore b/.gitignore index 2c05983..bb6873e 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /nasm-rs-0.2.2.crate /nasm-rs-0.2.3.crate /nasm-rs-0.2.4.crate +/nasm-rs-0.2.5.crate diff --git a/README.md b/README.md deleted file mode 100644 index 768a190..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-nasm-rs - -The rust-nasm-rs package \ No newline at end of file diff --git a/rust-nasm-rs.spec b/rust-nasm-rs.spec index f489610..b52cb77 100644 --- a/rust-nasm-rs.spec +++ b/rust-nasm-rs.spec @@ -1,22 +1,19 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate nasm-rs -Name: rust-%{crate} -Version: 0.2.4 +Name: rust-nasm-rs +Version: 0.2.5 Release: %autorelease Summary: Run NASM during your Cargo build -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/nasm-rs Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Run NASM during your Cargo build.} @@ -34,9 +31,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.markdown -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.markdown +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,7 +46,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+parallel-devel Summary: %{summary} @@ -60,7 +58,7 @@ This package contains library source intended for building other packages which use the "parallel" feature of the "%{crate}" crate. %files -n %{name}+parallel-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rayon-devel Summary: %{summary} @@ -72,7 +70,7 @@ This package contains library source intended for building other packages which use the "rayon" feature of the "%{crate}" crate. %files -n %{name}+rayon-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/.rust2rpm.conf b/rust2rpm.conf similarity index 100% rename from .rust2rpm.conf rename to rust2rpm.conf diff --git a/sources b/sources index 53c0118..8099f13 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nasm-rs-0.2.4.crate) = 220824b9acc693336a684e1d4017ec22e5feadbb61c5aa98c5a5061d5e3e54fb35401927d01fbb01f28f2cb5dfc9d1e48806428faf20b0a0d71f77789a45e352 +SHA512 (nasm-rs-0.2.5.crate) = b636dbd1594f2f0d1f71c3dc76fef94c9940c4a2a735b86c4b7c05838024c86122c9e8342b8f7ae8e8c63c5a56344a1f21346317952552face0aa2b6425b0465