diff --git a/.gitignore b/.gitignore index 7948b1d..ef9acbc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /http-auth-0.1.8.crate +/http-auth-0.1.9.crate diff --git a/rust-http-auth.spec b/rust-http-auth.spec index 85e9a4e..51d74af 100644 --- a/rust-http-auth.spec +++ b/rust-http-auth.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate http-auth Name: rust-http-auth -Version: 0.1.8 +Version: 0.1.9 Release: %autorelease Summary: HTTP authentication @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/http-auth Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: HTTP authentication: parse challenge lists, respond to Basic and Digest @@ -123,6 +123,18 @@ use the "http" feature of the "%{crate}" crate. %files -n %{name}+http-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+http10-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+http10-devel %{_description} + +This package contains library source intended for building other packages which +use the "http10" feature of the "%{crate}" crate. + +%files -n %{name}+http10-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+log-devel Summary: %{summary} BuildArch: noarch @@ -184,7 +196,7 @@ use the "trace" 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 diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..784e509 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "HTTP authentication" + diff --git a/sources b/sources index ed28e3e..6eee2d3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (http-auth-0.1.8.crate) = 509313647380a98c2fede816ea90d04f85f6bfeb1ae4112767a0ad9fdd29d9169a30f4359d845ec0ee9ddcdd93921d970ea68199edc50a1c7b8e29aa6f664fd0 +SHA512 (http-auth-0.1.9.crate) = bb3154157db52908f2ead1e7a3b0296ee32061dd8be5d0a030b4fbfdc80bb590e8140476c9cdae9d3066fe54011da12c87a2a10409afe77c9f3f06f1ec69041e