Blame rust-git2.spec

953300
# Generated by rust2rpm
953300
%bcond_without check
953300
%global debug_package %{nil}
953300
953300
%global crate git2
953300
953300
Name:           rust-%{crate}
a50c77
Version:        0.7.5
a50c77
Release:        1%{?dist}
953300
Summary:        Bindings to libgit2 for interoperating with git repositories
953300
953300
License:        MIT or ASL 2.0
953300
URL:            https://crates.io/crates/git2
953300
Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
a50c77
a50c77
# libgit2 0.27 doesn't have this field -- see rust-libgit2-sys
a50c77
Patch1:         rust-git2-no-include_depth.patch
953300
953300
ExclusiveArch:  %{rust_arches}
953300
953300
BuildRequires:  rust-packaging
953300
# [dependencies]
a9449f
BuildRequires:  (crate(bitflags) >= 1.0.0 with crate(bitflags) < 2.0.0)
953300
BuildRequires:  (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
a50c77
BuildRequires:  (crate(libgit2-sys) >= 0.7.7 with crate(libgit2-sys) < 0.8.0)
f931e9
BuildRequires:  (crate(log) >= 0.4.0 with crate(log) < 0.5.0)
953300
BuildRequires:  (crate(openssl-probe) >= 0.1.0 with crate(openssl-probe) < 0.2.0)
953300
BuildRequires:  (crate(openssl-sys) >= 0.9.0 with crate(openssl-sys) < 0.10.0)
953300
BuildRequires:  (crate(url) >= 1.0.0 with crate(url) < 2.0.0)
953300
%if %{with check}
953300
# [dev-dependencies]
db9a5e
BuildRequires:  (crate(docopt) >= 1.0.0 with crate(docopt) < 2.0.0)
953300
BuildRequires:  (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
953300
BuildRequires:  (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
a50c77
BuildRequires:  (crate(tempdir) >= 0.3.7 with crate(tempdir) < 0.4.0)
a50c77
BuildRequires:  (crate(thread-id) >= 3.3.0 with crate(thread-id) < 4.0.0)
a50c77
BuildRequires:  (crate(time) >= 0.1.39 with crate(time) < 0.2.0)
953300
%endif
953300
953300
%description
953300
%{summary}.
953300
953300
%package        devel
953300
Summary:        %{summary}
953300
BuildArch:      noarch
953300
953300
%description    devel
953300
Bindings to libgit2 for interoperating with git repositories. This library is
953300
both threadsafe and memory safe and allows both reading and writing git
953300
repositories.
953300
953300
This package contains library source intended for building other packages
953300
which use %{crate} from crates.io.
953300
953300
%prep
953300
%autosetup -n %{crate}-%{version} -p1
953300
%cargo_prep
953300
953300
%build
953300
%cargo_build
953300
953300
%install
953300
%cargo_install
953300
953300
%if %{with check}
953300
%check
953300
%cargo_test
953300
%endif
953300
953300
%files          devel
953300
%license LICENSE-MIT LICENSE-APACHE
953300
%doc README.md
953300
%{cargo_registry}/%{crate}-%{version}/
953300
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
953300
953300
%changelog
a50c77
* Fri Aug 10 2018 Josh Stone <jistone@redhat.com> - 0.7.5-1
a50c77
- Update to 0.7.5
a50c77
3281ba
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-3
3281ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3281ba
db9a5e
* Thu Jun 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.1-2
db9a5e
- Bump docopt to 1
db9a5e
f931e9
* Fri Mar 23 2018 Josh Stone <jistone@redhat.com> - 0.7.1-1
f931e9
- Update to 0.7.1
f931e9
a9449f
* Mon Mar 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.0-1
a9449f
- Update to 0.7.0
a9449f
5c7dc1
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.11-2
5c7dc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5c7dc1
7b9b57
* Tue Jan 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.11-1
7b9b57
- Update to 0.6.11
7b9b57
ddc20c
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.10-2
ddc20c
- Rebuild for rust-packaging v5
ddc20c
834098
* Sun Dec 24 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.10-1
834098
- Update to 0.6.10
834098
e85433
* Wed Dec 13 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.9-1
e85433
- Update to 0.6.9
e85433
953300
* Sun Nov 26 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.8-1
953300
- Initial package