You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-autocfg/rust-autocfg.spec

82 lines
1.9 KiB

6 years ago
# Generated by rust2rpm-9-1.fc30
%bcond_with check
6 years ago
%global debug_package %{nil}
%global crate autocfg
Name: rust-%{crate}
6 years ago
Version: 0.1.4
Release: 1%{?dist}
6 years ago
Summary: Automatic cfg for Rust compiler features
# Upstream license specification: Apache-2.0/MIT
License: ASL 2.0 or MIT
URL: https://crates.io/crates/autocfg
Source: %{crates_source}
6 years ago
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description \
Automatic cfg for Rust compiler features.
%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-APACHE LICENSE-MIT
%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
6 years ago
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
6 years ago
* Wed May 22 2019 Josh Stone <jistone@redhat.com> - 0.1.4-1
- Update to 0.1.4
* Mon Feb 11 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.2-3
- Run tests in infrastructure
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6 years ago
* Thu Jan 17 2019 Josh Stone <jistone@redhat.com> - 0.1.2-1
- Update to 0.1.2
6 years ago
* Mon Jan 07 2019 Josh Stone <jistone@redhat.com> - 0.1.1-1
- Initial package