-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Cristian Le <[email protected]>
- Loading branch information
Showing
5 changed files
with
199 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
# Generated by rust2rpm 26 | ||
%bcond_without check | ||
%global debug_package %{nil} | ||
|
||
%global crate no-std-net | ||
|
||
Name: rust-no-std-net | ||
Version: 0.6.0 | ||
Release: %autorelease | ||
Summary: Rust's std::net... without the 'std' | ||
|
||
License: MIT | ||
URL: https://crates.io/crates/no-std-net | ||
Source: %{crates_source} | ||
|
||
BuildRequires: cargo-rpm-macros >= 24 | ||
|
||
%global _description %{expand: | ||
Rust's std::net... without the 'std'.} | ||
|
||
%description %{_description} | ||
|
||
%package devel | ||
Summary: %{summary} | ||
BuildArch: noarch | ||
|
||
%description devel %{_description} | ||
|
||
This package contains library source intended for building other packages which | ||
use the "%{crate}" crate. | ||
|
||
%files devel | ||
%license %{crate_instdir}/LICENSE | ||
%doc %{crate_instdir}/README.md | ||
%{crate_instdir}/ | ||
|
||
%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 the "default" feature of the "%{crate}" crate. | ||
|
||
%files -n %{name}+default-devel | ||
%ghost %{crate_instdir}/Cargo.toml | ||
|
||
%package -n %{name}+i128-devel | ||
Summary: %{summary} | ||
BuildArch: noarch | ||
|
||
%description -n %{name}+i128-devel %{_description} | ||
|
||
This package contains library source intended for building other packages which | ||
use the "i128" feature of the "%{crate}" crate. | ||
|
||
%files -n %{name}+i128-devel | ||
%ghost %{crate_instdir}/Cargo.toml | ||
|
||
%package -n %{name}+serde-devel | ||
Summary: %{summary} | ||
BuildArch: noarch | ||
|
||
%description -n %{name}+serde-devel %{_description} | ||
|
||
This package contains library source intended for building other packages which | ||
use the "serde" feature of the "%{crate}" crate. | ||
|
||
%files -n %{name}+serde-devel | ||
%ghost %{crate_instdir}/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 the "std" feature of the "%{crate}" crate. | ||
|
||
%files -n %{name}+std-devel | ||
%ghost %{crate_instdir}/Cargo.toml | ||
|
||
%package -n %{name}+unstable_ip-devel | ||
Summary: %{summary} | ||
BuildArch: noarch | ||
|
||
%description -n %{name}+unstable_ip-devel %{_description} | ||
|
||
This package contains library source intended for building other packages which | ||
use the "unstable_ip" feature of the "%{crate}" crate. | ||
|
||
%files -n %{name}+unstable_ip-devel | ||
%ghost %{crate_instdir}/Cargo.toml | ||
|
||
%prep | ||
%autosetup -n %{crate}-%{version} -p1 | ||
%cargo_prep | ||
|
||
%generate_buildrequires | ||
%cargo_generate_buildrequires | ||
|
||
%build | ||
%cargo_build | ||
|
||
%install | ||
%cargo_install | ||
|
||
%if %{with check} | ||
%check | ||
%cargo_test | ||
%endif | ||
|
||
%changelog | ||
%autochangelog |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Generated by rust2rpm 26 | ||
%bcond_without check | ||
%global debug_package %{nil} | ||
|
||
%global crate special | ||
|
||
Name: rust-special | ||
Version: 0.10.3 | ||
Release: %autorelease | ||
Summary: Package provides special functions | ||
|
||
# Upstream license specification: Apache-2.0/MIT | ||
License: Apache-2.0 OR MIT | ||
URL: https://crates.io/crates/special | ||
Source: %{crates_source} | ||
|
||
BuildRequires: cargo-rpm-macros >= 24 | ||
|
||
%global _description %{expand: | ||
The package provides special functions.} | ||
|
||
%description %{_description} | ||
|
||
%package devel | ||
Summary: %{summary} | ||
BuildArch: noarch | ||
|
||
%description devel %{_description} | ||
|
||
This package contains library source intended for building other packages which | ||
use the "%{crate}" crate. | ||
|
||
%files devel | ||
%license %{crate_instdir}/LICENSE.md | ||
%doc %{crate_instdir}/README.md | ||
%{crate_instdir}/ | ||
|
||
%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 the "default" feature of the "%{crate}" crate. | ||
|
||
%files -n %{name}+default-devel | ||
%ghost %{crate_instdir}/Cargo.toml | ||
|
||
%prep | ||
%autosetup -n %{crate}-%{version} -p1 | ||
%cargo_prep | ||
|
||
%generate_buildrequires | ||
%cargo_generate_buildrequires | ||
|
||
%build | ||
%cargo_build | ||
|
||
%install | ||
%cargo_install | ||
|
||
%if %{with check} | ||
%check | ||
%cargo_test | ||
%endif | ||
|
||
%changelog | ||
%autochangelog |
Empty file.