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-libc/rust-libc.spec

118 lines
3.2 KiB

# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate libc
Name: rust-%{crate}
7 years ago
Version: 0.2.40
7 years ago
Release: 1%{?dist}
Summary: Library for types and bindings to native C functions
License: MIT or ASL 2.0
URL: https://crates.io/crates/libc
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: glibc-devel
%description
%{summary}.
%package devel
Summary: %{summary}
Requires: glibc-devel
BuildArch: noarch
%description devel
A library for types and bindings to native C functions often found in libc or
other common platform libraries.
This package contains library source intended for building other packages
which use %{crate} from crates.io.
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,ci}
%changelog
7 years ago
* Mon Mar 26 2018 Josh Stone <jistone@redhat.com> - 0.2.40-1
- Update to 0.2.40
7 years ago
* Tue Mar 06 2018 Josh Stone <jistone@redhat.com> - 0.2.39-1
- Update to 0.2.39
7 years ago
* Tue Feb 27 2018 Josh Stone <jistone@redhat.com> - 0.2.37-1
- Update to 0.2.37
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.36-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Jan 13 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.36-1
- Update to 0.2.36
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.35-2
- Rebuild for rust-packaging v5
* Thu Jan 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.35-1
- Update to 0.2.35
* Thu Nov 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.34-1
- Update to 0.2.34
* Mon Nov 20 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.33-2
- Add BuildRequires/Requires for glibc-devel
* Wed Nov 01 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.33-1
- Update to 0.2.33
* Fri Oct 27 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.32-1
- Update to 0.2.32
* Fri Jul 21 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.26-1
- Update to 0.2.26
* Fri Jul 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.25-1
- Update to 0.2.25
* Sun Jun 25 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.24-1
- Update to 0.2.24
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.23-1
- Update to 0.2.23
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.21-2
- Port to use rust-packaging
* Sun Mar 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.21-1
- Update to 0.2.21
* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.20-3
- Strip unneeded files
* Sun Feb 12 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.20-2
- Add license files
- Fix license tag
* Sun Feb 12 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.20-1
- Initial package