diff --git a/README.md b/README.md deleted file mode 100644 index 9dbaaad..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-cexpr - -The rust-cexpr package \ No newline at end of file diff --git a/rust-cexpr.spec b/rust-cexpr.spec index b7117a0..6c5e0d6 100644 --- a/rust-cexpr.spec +++ b/rust-cexpr.spec @@ -1,29 +1,24 @@ -# Generated by rust2rpm 18 -# * Tests are run in infrastructure +# Generated by rust2rpm 24 +# * outdated dev-dependency: clang-sys %bcond_with check %global debug_package %{nil} %global crate cexpr -Name: rust-%{crate} +Name: rust-cexpr Version: 0.6.0 Release: %autorelease Summary: C expression parser and evaluator # Upstream license specification: Apache-2.0/MIT -License: ASL 2.0 or MIT +License: Apache-2.0 OR MIT URL: https://crates.io/crates/cexpr Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -C expression parser and evaluator.} +A C expression parser and evaluator.} %description %{_description} @@ -33,12 +28,13 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +42,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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 @@ -71,4 +67,4 @@ which use "default" feature of "%{crate}" crate. %endif %changelog -%autochangelog \ No newline at end of file +%autochangelog