-
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
39 changed files
with
3,390 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,93 @@ | ||
# Generated by rust2rpm 26 | ||
%bcond_without check | ||
%global debug_package %{nil} | ||
|
||
%global crate axum-core | ||
|
||
Name: rust-axum-core | ||
Version: 0.4.3 | ||
Release: %autorelease | ||
Summary: Core types and traits for axum | ||
|
||
License: MIT | ||
URL: https://crates.io/crates/axum-core | ||
Source: %{crates_source} | ||
|
||
BuildRequires: cargo-rpm-macros >= 24 | ||
|
||
%global _description %{expand: | ||
Core types and traits for axum.} | ||
|
||
%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}/CHANGELOG.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 | ||
|
||
%package -n %{name}+__private_docs-devel | ||
Summary: %{summary} | ||
BuildArch: noarch | ||
|
||
%description -n %{name}+__private_docs-devel %{_description} | ||
|
||
This package contains library source intended for building other packages which | ||
use the "__private_docs" feature of the "%{crate}" crate. | ||
|
||
%files -n %{name}+__private_docs-devel | ||
%ghost %{crate_instdir}/Cargo.toml | ||
|
||
%package -n %{name}+tracing-devel | ||
Summary: %{summary} | ||
BuildArch: noarch | ||
|
||
%description -n %{name}+tracing-devel %{_description} | ||
|
||
This package contains library source intended for building other packages which | ||
use the "tracing" feature of the "%{crate}" crate. | ||
|
||
%files -n %{name}+tracing-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,81 @@ | ||
# Generated by rust2rpm 26 | ||
%bcond_without check | ||
%global debug_package %{nil} | ||
|
||
%global crate axum-macros | ||
|
||
Name: rust-axum-macros | ||
Version: 0.4.1 | ||
Release: %autorelease | ||
Summary: Macros for axum | ||
|
||
License: MIT | ||
URL: https://crates.io/crates/axum-macros | ||
Source: %{crates_source} | ||
|
||
BuildRequires: cargo-rpm-macros >= 24 | ||
|
||
%global _description %{expand: | ||
Macros for axum.} | ||
|
||
%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}/CHANGELOG.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 | ||
|
||
%package -n %{name}+__private-devel | ||
Summary: %{summary} | ||
BuildArch: noarch | ||
|
||
%description -n %{name}+__private-devel %{_description} | ||
|
||
This package contains library source intended for building other packages which | ||
use the "__private" feature of the "%{crate}" crate. | ||
|
||
%files -n %{name}+__private-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.
Oops, something went wrong.