diff --git a/.gitignore b/.gitignore index 50f99ed..dd89273 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /errno-0.2.5.crate /errno-0.2.6.crate /errno-0.2.7.crate +/errno-0.2.8.crate diff --git a/errno-fix-metadata.diff b/errno-fix-metadata.diff index c7fb1f5..809f331 100644 --- a/errno-fix-metadata.diff +++ b/errno-fix-metadata.diff @@ -1,9 +1,9 @@ ---- errno-0.2.7/Cargo.toml 2020-10-24T09:12:09+00:00 -+++ errno-0.2.7/Cargo.toml 2020-11-12T11:01:58.552185+00:00 -@@ -19,16 +19,7 @@ - categories = ["os"] - license = "MIT/Apache-2.0" - repository = "https://github.com/lambda-fairy/rust-errno" +--- errno-0.2.8/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ errno-0.2.8/Cargo.toml 2021-11-09T22:33:17.357036+00:00 +@@ -22,14 +22,5 @@ + [features] + default = ["std"] + std = [] -[target."cfg(target_os=\"dragonfly\")".dependencies.errno-dragonfly] -version = "0.1.1" -[target."cfg(target_os=\"hermit\")".dependencies.libc] @@ -15,5 +15,3 @@ -[target."cfg(windows)".dependencies.winapi] -version = "0.3" -features = ["errhandlingapi", "minwindef", "ntdef", "winbase"] - [badges.travis-ci] - repository = "lambda-fairy/rust-errno" diff --git a/rust-errno.spec b/rust-errno.spec index b4c131a..ebdc854 100644 --- a/rust-errno.spec +++ b/rust-errno.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 15 +# Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil} %global crate errno Name: rust-%{crate} -Version: 0.2.7 +Version: 0.2.8 Release: %autorelease Summary: Cross-platform interface to the `errno` variable @@ -40,7 +40,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE -%doc README.md +%doc README.md CHANGELOG.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -55,6 +55,18 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages +which use "std" feature of "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index ae9c02e..0c15af0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (errno-0.2.7.crate) = 2d22a44159176d1f898569fe892fec795fb2b9bc35ba735c7275a1dc23c2f9e31bffa2f1d36c4b02230f623206c954e4bbbd704d606e5ff5ccc5e73fb2f536ab +SHA512 (errno-0.2.8.crate) = 1f513743224cd9a9b7e4caaf33dab075a4a79efa90c9f46c9edfb0c8600daccd3ad2677ba2116621e19fcf8be456954da5d611cbcea4b6f1410f7731828b50d1