|
|
@ -5,11 +5,10 @@
|
|
|
|
%global crate libgit2-sys
|
|
|
|
%global crate libgit2-sys
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.6.16
|
|
|
|
Version: 0.6.17
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Native bindings to the libgit2 library
|
|
|
|
Summary: Native bindings to the libgit2 library
|
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/alexcrichton/git2-rs/pull/271
|
|
|
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/libgit2-sys
|
|
|
|
URL: https://crates.io/crates/libgit2-sys
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
@ -49,7 +48,6 @@ which use %{crate} from crates.io.
|
|
|
|
%autosetup -n %{crate}-%{version} -N
|
|
|
|
%autosetup -n %{crate}-%{version} -N
|
|
|
|
# Bundled deps
|
|
|
|
# Bundled deps
|
|
|
|
rm -vrf libgit2
|
|
|
|
rm -vrf libgit2
|
|
|
|
grep -IUlr $'\r' | xargs sed -i 's/\r$//'
|
|
|
|
|
|
|
|
%autopatch -p2
|
|
|
|
%autopatch -p2
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
@ -65,9 +63,13 @@ grep -IUlr $'\r' | xargs sed -i 's/\r$//'
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%license LICENSE-MIT LICENSE-APACHE
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Dec 13 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.17-1
|
|
|
|
|
|
|
|
- Update to 0.6.17
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Dec 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.16-2
|
|
|
|
* Sun Dec 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.16-2
|
|
|
|
- Fix end-of-line
|
|
|
|
- Fix end-of-line
|
|
|
|
|
|
|
|
|
|
|
|