Architecture specific change in rpms/rust-ipnetwork.git
by githook-noreply@fedoraproject.org
The package rpms/rust-ipnetwork.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-ipnetwork.git/commit/?id=64e....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 64e6a8b705352c8e4c1f8b51d90d99d03a1d62ad
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Tue Jan 29 18:03:27 2019 +0100
Initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..09da08e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/ipnetwork-0.13.1.crate
diff --git a/ipnetwork-fix-metadata.diff b/ipnetwork-fix-metadata.diff
new file mode 100644
index 0000000..67e7ac9
--- /dev/null
+++ b/ipnetwork-fix-metadata.diff
@@ -0,0 +1,20 @@
+--- ipnetwork-0.13.1/Cargo.toml 1970-01-01T01:00:00+01:00
++++ ipnetwork-0.13.1/Cargo.toml 2019-01-28T22:00:24.289581+01:00
+@@ -21,10 +21,6 @@
+ categories = ["network-programming", "os"]
+ license = "Apache-2.0"
+ repository = "https://github.com/achanda/ipnetwork"
+-[dependencies.clippy]
+-version = "0.0.104"
+-optional = true
+-
+ [dependencies.serde]
+ version = ">=0.8.0, <2.0"
+
+@@ -35,6 +31,5 @@
+
+ [features]
+ default = []
+-dev = ["clippy"]
+ [badges.travis-ci]
+ repository = "achanda/ipnetwork"
diff --git a/rust-ipnetwork.spec b/rust-ipnetwork.spec
new file mode 100644
index 0000000..3a59b83
--- /dev/null
+++ b/rust-ipnetwork.spec
@@ -0,0 +1,78 @@
+# Generated by rust2rpm
+# * Tests are run in infrastructure
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate ipnetwork
+
+Name: rust-%{crate}
+Version: 0.13.1
+Release: 1%{?dist}
+Summary: Library to work with IP CIDRs in Rust, heavily WIP
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL: https://crates.io/crates/ipnetwork
+Source: %{crates_source}
+# Initial patched metadata
+# * No clippy
+Patch0: ipnetwork-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(serde/default) >= 0.8.0 with crate(serde/default) < 2.0.0)
+BuildRequires: (crate(serde_derive/default) >= 0.8.0 with crate(serde_derive/default) < 2.0.0)
+%if %{with check}
+BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0)
+%endif
+
+%global _description \
+A library to work with IP CIDRs in Rust, heavily WIP.
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE.md
+%doc README.md
+%{cargo_registry}/%{crate}-%{version}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+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.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Mon Jan 28 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.13.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..90c84a6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (ipnetwork-0.13.1.crate) = 75b313cceea52fd270002b1a1181d736526c8fc18aa8de3e1f0ad0bdf2ced4696a55eade849cce4d3397d803de8482e7cd2fdfa4831db5e0335cd5d5c306f3b8
diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1
diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+ qemu:
+ # `cargo test` usually eats more than 1G.
+ m: 4G
diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..42e4949
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+ roles:
+ - role: standard-test-basic
+ tags:
+ - classic
+ repositories:
+ - repo: "https://src.fedoraproject.org/tests/rust.git"
+ dest: rust
+ tests:
+ - rust/cargo-test
+ environment:
+ pkg: rust-ipnetwork
5 years, 2 months
Architecture specific change in rpms/rust-indicatif.git
by githook-noreply@fedoraproject.org
The package rpms/rust-indicatif.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-indicatif.git/commit/?id=dce....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit dcecf35fe5d257c3ff6ccfd058d0f1a7ff3000e3
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Tue Jan 29 18:03:26 2019 +0100
Initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..fa820e7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/indicatif-0.11.0.crate
diff --git a/rust-indicatif.spec b/rust-indicatif.spec
new file mode 100644
index 0000000..8c4c68b
--- /dev/null
+++ b/rust-indicatif.spec
@@ -0,0 +1,79 @@
+# Generated by rust2rpm
+# * Tests are run in infrastructure
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate indicatif
+
+Name: rust-%{crate}
+Version: 0.11.0
+Release: 1%{?dist}
+Summary: Progress bar and cli reporting library for Rust
+
+License: MIT
+URL: https://crates.io/crates/indicatif
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(console/default) >= 0.7.1 with crate(console/default) < 1.0.0)
+BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0)
+BuildRequires: (crate(number_prefix/default) >= 0.2.0 with crate(number_prefix/default) < 0.3.0)
+BuildRequires: (crate(parking_lot/default) >= 0.0.0 with crate(parking_lot/default) < 1.0.0)
+BuildRequires: (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0)
+%if %{with check}
+BuildRequires: (crate(futures/default) >= 0.1.0 with crate(futures/default) < 0.2.0)
+BuildRequires: (crate(rand/default) >= 0.0.0 with crate(rand/default) < 1.0.0)
+BuildRequires: (crate(tokio-core/default) >= 0.1.0 with crate(tokio-core/default) < 0.2.0)
+%endif
+
+%global _description \
+A progress bar and cli reporting library for Rust.
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+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.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Mon Jan 28 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.11.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..7c54b39
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (indicatif-0.11.0.crate) = 68c45d5a7ae1179faaf683bd006e01df5c074ffdc205f533f98b03b99dd1b0242f61dafa16448a3c481c3a815d317df66d5be4ef078e5b3abac34f7f091a4901
diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1
diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+ qemu:
+ # `cargo test` usually eats more than 1G.
+ m: 4G
diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..e6fbe92
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+ roles:
+ - role: standard-test-basic
+ tags:
+ - classic
+ repositories:
+ - repo: "https://src.fedoraproject.org/tests/rust.git"
+ dest: rust
+ tests:
+ - rust/cargo-test
+ environment:
+ pkg: rust-indicatif
5 years, 2 months
Architecture specific change in rpms/rust-headers-core.git
by githook-noreply@fedoraproject.org
The package rpms/rust-headers-core.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-headers-core.git/commit/?id=....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 5bbaa1446f2c18a4e60f2d0d8e2419558d16adfc
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Tue Jan 29 18:03:26 2019 +0100
Initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9c1e4e9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/headers-core-0.1.0.crate
diff --git a/rust-headers-core.spec b/rust-headers-core.spec
new file mode 100644
index 0000000..2b864c5
--- /dev/null
+++ b/rust-headers-core.spec
@@ -0,0 +1,71 @@
+# Generated by rust2rpm
+# * Tests are run in infrastructure
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate headers-core
+
+Name: rust-%{crate}
+Version: 0.1.0
+Release: 1%{?dist}
+Summary: Typed HTTP headers core trait
+
+License: MIT
+URL: https://crates.io/crates/headers-core
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(bytes/default) >= 0.4.0 with crate(bytes/default) < 0.5.0)
+BuildRequires: (crate(http/default) >= 0.1.15 with crate(http/default) < 0.2.0)
+
+%global _description \
+Typed HTTP headers core trait.
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+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.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Sun Jan 27 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.1.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..375857e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (headers-core-0.1.0.crate) = 9036b7f89517bf4ae0fe9687b698a5341d8f58f1466d749cd0af9b88c4709d47f5ed6442966fe91442eb848452d5f947b1d50cb54ce93409550eef62583218af
diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1
diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+ qemu:
+ # `cargo test` usually eats more than 1G.
+ m: 4G
diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..94e50d0
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+ roles:
+ - role: standard-test-basic
+ tags:
+ - classic
+ repositories:
+ - repo: "https://src.fedoraproject.org/tests/rust.git"
+ dest: rust
+ tests:
+ - rust/cargo-test
+ environment:
+ pkg: rust-headers-core
5 years, 2 months
Architecture specific change in rpms/rust-blobby.git
by githook-noreply@fedoraproject.org
The package rpms/rust-blobby.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-blobby.git/commit/?id=4cb345....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 4cb345305da1b91fd2f89d3915079d3e62aca326
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Tue Jan 29 18:03:25 2019 +0100
Initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..2d3d7db
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/blobby-0.1.1.crate
diff --git a/rust-blobby.spec b/rust-blobby.spec
new file mode 100644
index 0000000..62c8c8b
--- /dev/null
+++ b/rust-blobby.spec
@@ -0,0 +1,70 @@
+# Generated by rust2rpm
+# * Tests are run in infrastructure
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate blobby
+
+Name: rust-%{crate}
+Version: 0.1.1
+Release: 1%{?dist}
+Summary: Iterator over simple binary blob storage
+
+# Upstream license specification: MIT OR Apache-2.0
+# https://github.com/RustCrypto/traits/issues/34
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/blobby
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(byteorder) >= 1.0.0 with crate(byteorder) < 2.0.0)
+
+%global _description \
+Iterator over simple binary blob storage.
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%{cargo_registry}/%{crate}-%{version}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+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.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Sun Jan 27 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.1.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..ab75268
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (blobby-0.1.1.crate) = 64ad8693c6e4c95d2a0b3621cbd0904b813dcdf6ad806eb84e4b3a09670889dd5ce8cee447e2f3b1520ab8733d11a42dfcbb3bcbab31c5c6b1c502b148938862
diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1
diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+ qemu:
+ # `cargo test` usually eats more than 1G.
+ m: 4G
diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..f0476cb
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+ roles:
+ - role: standard-test-basic
+ tags:
+ - classic
+ repositories:
+ - repo: "https://src.fedoraproject.org/tests/rust.git"
+ dest: rust
+ tests:
+ - rust/cargo-test
+ environment:
+ pkg: rust-blobby
5 years, 2 months
Architecture specific change in rpms/rust-hyperfine.git
by githook-noreply@fedoraproject.org
The package rpms/rust-hyperfine.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-hyperfine.git/commit/?id=4fe....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 4fe7b69290d896e390c3fb4da3486e2cda985cb9
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Tue Jan 29 18:03:26 2019 +0100
Initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..53c9b60
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/hyperfine-1.5.0.crate
diff --git a/hyperfine-fix-metadata.diff b/hyperfine-fix-metadata.diff
new file mode 100644
index 0000000..1a9d03d
--- /dev/null
+++ b/hyperfine-fix-metadata.diff
@@ -0,0 +1,18 @@
+--- hyperfine-1.5.0/Cargo.toml 1970-01-01T01:00:00+01:00
++++ hyperfine-1.5.0/Cargo.toml 2019-01-28T16:22:22.556455+01:00
+@@ -38,7 +38,7 @@
+ version = "1.0.0"
+
+ [dependencies.indicatif]
+-version = "0.9"
++version = "0.11"
+
+ [dependencies.serde]
+ version = "1.0.82"
+@@ -55,6 +55,3 @@
+ version = "0.3"
+ [target."cfg(not(windows))".dependencies.libc]
+ version = "0.2"
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3.4"
+-features = ["processthreadsapi", "minwindef", "winnt"]
diff --git a/rust-hyperfine.spec b/rust-hyperfine.spec
new file mode 100644
index 0000000..45eb4ed
--- /dev/null
+++ b/rust-hyperfine.spec
@@ -0,0 +1,73 @@
+# Generated by rust2rpm
+# * Tests are run in infrastructure
+%bcond_with check
+
+%global crate hyperfine
+
+Name: rust-%{crate}
+Version: 1.5.0
+Release: 1%{?dist}
+Summary: Command-line benchmarking tool
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/hyperfine
+Source: %{crates_source}
+# Initial patched metadata
+# * Bump indicatif to 0.11, https://github.com/sharkdp/hyperfine/commit/dfba8883e3cf4234bc9ae5b05d21d...
+Patch0: hyperfine-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(atty/default) >= 0.2.2 with crate(atty/default) < 0.3.0)
+BuildRequires: (crate(cfg-if/default) >= 0.1.6 with crate(cfg-if/default) < 0.2.0)
+BuildRequires: (crate(clap/color) >= 2.0.0 with crate(clap/color) < 3.0.0)
+BuildRequires: (crate(clap/suggestions) >= 2.0.0 with crate(clap/suggestions) < 3.0.0)
+BuildRequires: (crate(clap/wrap_help) >= 2.0.0 with crate(clap/wrap_help) < 3.0.0)
+BuildRequires: (crate(colored/default) >= 1.6.0 with crate(colored/default) < 2.0.0)
+BuildRequires: (crate(csv/default) >= 1.0.0 with crate(csv/default) < 2.0.0)
+BuildRequires: (crate(indicatif/default) >= 0.11.0 with crate(indicatif/default) < 0.12.0)
+BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
+BuildRequires: (crate(serde/default) >= 1.0.82 with crate(serde/default) < 2.0.0)
+BuildRequires: (crate(serde_derive/default) >= 1.0.82 with crate(serde_derive/default) < 2.0.0)
+BuildRequires: (crate(serde_json/default) >= 1.0.33 with crate(serde_json/default) < 2.0.0)
+BuildRequires: (crate(statistical/default) >= 0.1.0 with crate(statistical/default) < 0.2.0)
+%if %{with check}
+BuildRequires: (crate(approx/default) >= 0.3.0 with crate(approx/default) < 0.4.0)
+%endif
+
+%global _description \
+A command-line benchmarking tool.
+
+%description %{_description}
+
+%package -n %{crate}
+Summary: %{summary}
+
+%description -n %{crate}
+%{summary}.
+
+%files -n %{crate}
+%license LICENSE-MIT LICENSE-APACHE
+%doc README.md
+%{_bindir}/hyperfine
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Mon Jan 28 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.5.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..c1d4b49
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (hyperfine-1.5.0.crate) = 8428bcd65305a95ca7d48c9a7a465dbecdb07a2a08b4df3327c2df4c6cf71cc5fd3af8bfbf1730668750dd9d14885b02850c3c59a407c8395a1a2b3e8ef8c84f
diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1
diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+ qemu:
+ # `cargo test` usually eats more than 1G.
+ m: 4G
diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..e642f9a
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+ roles:
+ - role: standard-test-basic
+ tags:
+ - classic
+ repositories:
+ - repo: "https://src.fedoraproject.org/tests/rust.git"
+ dest: rust
+ tests:
+ - rust/cargo-test
+ environment:
+ pkg: rust-hyperfine
5 years, 2 months
Architecture specific change in rpms/rust-headers-derive.git
by githook-noreply@fedoraproject.org
The package rpms/rust-headers-derive.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-headers-derive.git/commit/?i....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit d39edc7a7649ee75adc59c28a388f794db45dbd1
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Tue Jan 29 18:03:26 2019 +0100
Initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b027381
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/headers-derive-0.1.0.crate
diff --git a/rust-headers-derive.spec b/rust-headers-derive.spec
new file mode 100644
index 0000000..548a387
--- /dev/null
+++ b/rust-headers-derive.spec
@@ -0,0 +1,72 @@
+# Generated by rust2rpm
+# * Tests are run in infrastructure
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate headers-derive
+
+Name: rust-%{crate}
+Version: 0.1.0
+Release: 1%{?dist}
+Summary: derive(Header)
+
+License: MIT
+URL: https://crates.io/crates/headers-derive
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(proc-macro2/default) >= 0.4.0 with crate(proc-macro2/default) < 0.5.0)
+BuildRequires: (crate(quote/default) >= 0.6.0 with crate(quote/default) < 0.7.0)
+BuildRequires: (crate(syn/default) >= 0.15.0 with crate(syn/default) < 0.16.0)
+
+%global _description \
+derive(Header).
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+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.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Sun Jan 27 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.1.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..f155b3c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (headers-derive-0.1.0.crate) = ffdce8ca1a740ba2651ef5d9918ee692aa7a9ba6fc482baf4456180c378827a560d81686cf40002e9b1447b3c7d5336ea674eff20165840efe6708c08cd4d42f
diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1
diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+ qemu:
+ # `cargo test` usually eats more than 1G.
+ m: 4G
diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..9ab803a
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+ roles:
+ - role: standard-test-basic
+ tags:
+ - classic
+ repositories:
+ - repo: "https://src.fedoraproject.org/tests/rust.git"
+ dest: rust
+ tests:
+ - rust/cargo-test
+ environment:
+ pkg: rust-headers-derive
5 years, 2 months
Architecture specific change in rpms/rust-block-buffer.git
by githook-noreply@fedoraproject.org
The package rpms/rust-block-buffer.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-block-buffer.git/commit/?id=....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 8812dff1575c043fc5d3a7d26d5f078d1dbd6241
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Tue Jan 29 18:03:26 2019 +0100
Initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..dfc7b6c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/block-buffer-0.7.0.crate
diff --git a/rust-block-buffer.spec b/rust-block-buffer.spec
new file mode 100644
index 0000000..9a76d17
--- /dev/null
+++ b/rust-block-buffer.spec
@@ -0,0 +1,73 @@
+# Generated by rust2rpm
+# * Tests are run in infrastructure
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate block-buffer
+
+Name: rust-%{crate}
+Version: 0.7.0
+Release: 1%{?dist}
+Summary: Fixed size buffer for block processing of data
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/block-buffer
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(block-padding/default) >= 0.1.0 with crate(block-padding/default) < 0.2.0)
+BuildRequires: (crate(byte-tools/default) >= 0.3.0 with crate(byte-tools/default) < 0.4.0)
+BuildRequires: (crate(byteorder) >= 1.0.0 with crate(byteorder) < 2.0.0)
+BuildRequires: (crate(generic-array/default) >= 0.12.0 with crate(generic-array/default) < 0.13.0)
+
+%global _description \
+Fixed size buffer for block processing of data.
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE-MIT LICENSE-APACHE
+%{cargo_registry}/%{crate}-%{version}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+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.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Sun Jan 27 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.7.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..addd856
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (block-buffer-0.7.0.crate) = d2550a960960188d88e9a14e2c7f08e1733b5a70935ce374503b6628b743532f750f418dc66a2294834104364ecf9a458b6657f1b7c5e9409bc19aa628e51d2c
diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1
diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+ qemu:
+ # `cargo test` usually eats more than 1G.
+ m: 4G
diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..70a318b
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+ roles:
+ - role: standard-test-basic
+ tags:
+ - classic
+ repositories:
+ - repo: "https://src.fedoraproject.org/tests/rust.git"
+ dest: rust
+ tests:
+ - rust/cargo-test
+ environment:
+ pkg: rust-block-buffer
5 years, 2 months
Architecture specific change in rpms/rust-digest.git
by githook-noreply@fedoraproject.org
The package rpms/rust-digest.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-digest.git/commit/?id=1cacd8....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 1cacd8ec87917e50f67cc97c79c5430cde89de07
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Tue Jan 29 18:03:26 2019 +0100
Initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..473652e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/digest-0.8.0.crate
diff --git a/rust-digest.spec b/rust-digest.spec
new file mode 100644
index 0000000..f7bce15
--- /dev/null
+++ b/rust-digest.spec
@@ -0,0 +1,83 @@
+# Generated by rust2rpm
+# * Tests are run in infrastructure
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate digest
+
+Name: rust-%{crate}
+Version: 0.8.0
+Release: 1%{?dist}
+Summary: Traits for cryptographic hash functions
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/digest
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(blobby/default) >= 0.1.0 with crate(blobby/default) < 0.2.0)
+BuildRequires: (crate(generic-array/default) >= 0.12.0 with crate(generic-array/default) < 0.13.0)
+
+%global _description \
+Traits for cryptographic hash functions.
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE-MIT LICENSE-APACHE
+%{cargo_registry}/%{crate}-%{version}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+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.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/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}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Sun Jan 27 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.8.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..232383f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (digest-0.8.0.crate) = b5c4b7d0d1131d2b24fa010839019fa5fc825a88bcda12f4b170b5d7bc93500319895a8c6282eda98be59e880825147f06d21eb9bea43828752cafc998b23e56
diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1
diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+ qemu:
+ # `cargo test` usually eats more than 1G.
+ m: 4G
diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..658fded
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+ roles:
+ - role: standard-test-basic
+ tags:
+ - classic
+ repositories:
+ - repo: "https://src.fedoraproject.org/tests/rust.git"
+ dest: rust
+ tests:
+ - rust/cargo-test
+ environment:
+ pkg: rust-digest
5 years, 2 months
Architecture specific change in rpms/rust-colored.git
by githook-noreply@fedoraproject.org
The package rpms/rust-colored.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-colored.git/commit/?id=3560e....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 3560e34c3f0a25cc84a024bb8d66cabf2e9c9a6e
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Tue Jan 29 18:03:26 2019 +0100
Initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..73a0f99
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/colored-1.7.0.crate
diff --git a/rust-colored.spec b/rust-colored.spec
new file mode 100644
index 0000000..523df20
--- /dev/null
+++ b/rust-colored.spec
@@ -0,0 +1,87 @@
+# Generated by rust2rpm
+# * rspec is not packaged
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate colored
+
+Name: rust-%{crate}
+Version: 1.7.0
+Release: 1%{?dist}
+Summary: Most simple way to add colors in your terminal
+
+# Upstream license specification: MPL-2.0
+License: MPLv2.0
+URL: https://crates.io/crates/colored
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(lazy_static/default) >= 1.2.0 with crate(lazy_static/default) < 2.0.0)
+%if %{with check}
+BuildRequires: (crate(ansi_term/default) >= 0.9.0 with crate(ansi_term/default) < 0.10.0)
+BuildRequires: crate(rspec/default) = 1.0.0~beta.3
+%endif
+
+%global _description \
+The most simple way to add colors in your terminal.
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc README.md CHANGELOG.md
+%{cargo_registry}/%{crate}-%{version}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+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.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+no-color-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+no-color-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "no-color" feature of "%{crate}" crate.
+
+%files -n %{name}+no-color-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Mon Jan 28 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.7.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..551cf16
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (colored-1.7.0.crate) = 93ed373cffb1ce71728ea78d720a8dc8f0f4b30e4be901aa17ff7ca07a8ac8690ea4b025da094fb1770f4000247e7e9ff87199485597b784266eb2edbd9f061f
diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1
diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+ qemu:
+ # `cargo test` usually eats more than 1G.
+ m: 4G
diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..de8dd06
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+ roles:
+ - role: standard-test-basic
+ tags:
+ - classic
+ repositories:
+ - repo: "https://src.fedoraproject.org/tests/rust.git"
+ dest: rust
+ tests:
+ - rust/cargo-test
+ environment:
+ pkg: rust-colored
5 years, 2 months
Architecture specific change in rpms/rust-hostname.git
by githook-noreply@fedoraproject.org
The package rpms/rust-hostname.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-hostname.git/commit/?id=a0b2....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit a0b26aea6d0fc98064f7d23d79c7af68523a04a8
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Tue Jan 29 18:03:26 2019 +0100
Initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5900ba4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/hostname-0.1.5.crate
diff --git a/hostname-fix-metadata.diff b/hostname-fix-metadata.diff
new file mode 100644
index 0000000..83d9b30
--- /dev/null
+++ b/hostname-fix-metadata.diff
@@ -0,0 +1,8 @@
+--- hostname-0.1.5/Cargo.toml 1970-01-01T01:00:00+01:00
++++ hostname-0.1.5/Cargo.toml 2019-01-28T21:58:41.641435+01:00
+@@ -30,5 +30,3 @@
+ unstable = []
+ [target."cfg(any(unix, target_os = \"redox\"))".dependencies.libc]
+ version = "^0.2"
+-[target."cfg(windows)".dependencies.winutil]
+-version = "^0.1.1"
diff --git a/rust-hostname.spec b/rust-hostname.spec
new file mode 100644
index 0000000..ff0f64f
--- /dev/null
+++ b/rust-hostname.spec
@@ -0,0 +1,85 @@
+# Generated by rust2rpm
+# * Tests are run in infrastructure
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate hostname
+
+Name: rust-%{crate}
+Version: 0.1.5
+Release: 1%{?dist}
+Summary: Get hostname
+
+License: MIT
+URL: https://crates.io/crates/hostname
+Source: %{crates_source}
+# Initial patched metadata
+# * No windows
+Patch0: hostname-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
+
+%global _description \
+Get hostname. Compatible with windows and linux, redox.
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+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.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+unstable-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+unstable-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "unstable" feature of "%{crate}" crate.
+
+%files -n %{name}+unstable-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Mon Jan 28 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.1.5-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..29b271f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (hostname-0.1.5.crate) = 1b822bc6261cda2a52518c625790878eb4592fbccbea72b503da42322659b8e6c95ccac442753a6cf1d5d612413679221650e0c584bb06162c3b1c89d8bafb02
diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1
diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+ qemu:
+ # `cargo test` usually eats more than 1G.
+ m: 4G
diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..96a9eb7
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+ roles:
+ - role: standard-test-basic
+ tags:
+ - classic
+ repositories:
+ - repo: "https://src.fedoraproject.org/tests/rust.git"
+ dest: rust
+ tests:
+ - rust/cargo-test
+ environment:
+ pkg: rust-hostname
5 years, 2 months