parent
115cbec623
commit
cedc015180
@ -1,7 +0,0 @@
|
|||||||
/relative-path-1.3.2.crate
|
|
||||||
/relative-path-1.4.0.crate
|
|
||||||
/relative-path-1.5.0.crate
|
|
||||||
/relative-path-1.6.0.crate
|
|
||||||
/relative-path-1.6.1.crate
|
|
||||||
/relative-path-1.7.0.crate
|
|
||||||
/relative-path-1.7.2.crate
|
|
@ -1,12 +0,0 @@
|
|||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue May 04 2021 Fabio Valentini <decathorpe@gmail.com> - 1.4.0-1
|
|
||||||
- Update to version 1.4.0.
|
|
||||||
- Fixes RHBZ#1956929
|
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Dec 25 14:28:44 CET 2020 Igor Raits <igor.raits@gmail.com> - 1.3.2-1
|
|
||||||
- Initial package
|
|
@ -0,0 +1 @@
|
|||||||
|
no longer needed
|
@ -1,97 +0,0 @@
|
|||||||
# Generated by rust2rpm 21
|
|
||||||
%bcond_without check
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
%global crate relative-path
|
|
||||||
|
|
||||||
Name: rust-%{crate}
|
|
||||||
Version: 1.7.2
|
|
||||||
Release: %autorelease
|
|
||||||
Summary: Portable, relative paths for Rust
|
|
||||||
|
|
||||||
# Upstream license specification: MIT/Apache-2.0
|
|
||||||
License: MIT or ASL 2.0
|
|
||||||
URL: https://crates.io/crates/relative-path
|
|
||||||
Source: %{crates_source}
|
|
||||||
|
|
||||||
ExclusiveArch: %{rust_arches}
|
|
||||||
|
|
||||||
BuildRequires: rust-packaging >= 21
|
|
||||||
|
|
||||||
%global _description %{expand:
|
|
||||||
Portable, relative paths 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 the "%{crate}" crate.
|
|
||||||
|
|
||||||
%files devel
|
|
||||||
%license %{crate_instdir}/LICENSE-APACHE
|
|
||||||
%license %{crate_instdir}/LICENSE-MIT
|
|
||||||
%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}+ci-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+ci-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages which
|
|
||||||
use the "ci" feature of the "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+ci-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
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
||||||
%cargo_prep
|
|
||||||
|
|
||||||
%generate_buildrequires
|
|
||||||
%cargo_generate_buildrequires -a
|
|
||||||
|
|
||||||
%build
|
|
||||||
%cargo_build -a
|
|
||||||
|
|
||||||
%install
|
|
||||||
%cargo_install -a
|
|
||||||
|
|
||||||
%if %{with check}
|
|
||||||
%check
|
|
||||||
%cargo_test -a
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
%autochangelog
|
|
Loading…
Reference in new issue