diff --git a/README.md b/README.md deleted file mode 100644 index 7ef8782..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-openssl-probe - -The rust-openssl-probe package \ No newline at end of file diff --git a/rust-openssl-probe.spec b/rust-openssl-probe.spec index c348191..046c4ce 100644 --- a/rust-openssl-probe.spec +++ b/rust-openssl-probe.spec @@ -1,25 +1,24 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate openssl-probe -Name: rust-%{crate} +Name: rust-openssl-probe Version: 0.1.5 Release: %autorelease Summary: Tool for helping to find SSL certificate locations on the system for OpenSSL # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/openssl-probe Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Tool for helping to find SSL certificate locations on the system for OpenSSL.} +Tool for helping to find SSL certificate locations on the system for +OpenSSL.} %description %{_description} @@ -33,9 +32,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.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +47,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1