diff --git a/.gitignore b/.gitignore index 74d326b..716373f 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ /libgit2-sys-0.12.20+1.1.0.crate /libgit2-sys-0.12.21+1.1.0.crate /libgit2-sys-0.12.25+1.3.0.crate +/libgit2-sys-0.12.26+1.3.0.crate diff --git a/libgit2-sys-fix-metadata.diff b/libgit2-sys-fix-metadata.diff index 74c2b53..5d29b75 100644 --- a/libgit2-sys-fix-metadata.diff +++ b/libgit2-sys-fix-metadata.diff @@ -1,11 +1,11 @@ ---- libgit2-sys-0.12.25+1.3.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ libgit2-sys-0.12.25+1.3.0/Cargo.toml 2021-11-28T15:29:08.157180+00:00 +--- libgit2-sys-0.12.26+1.3.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ libgit2-sys-0.12.26+1.3.0/Cargo.toml 2021-12-01T20:56:13.290820+00:00 @@ -12,7 +12,7 @@ [package] edition = "2018" name = "libgit2-sys" --version = "0.12.25+1.3.0" -+version = "0.12.25" +-version = "0.12.26+1.3.0" ++version = "0.12.26" authors = ["Josh Triplett ", "Alex Crichton "] build = "build.rs" links = "git2" diff --git a/rust-libgit2-sys.spec b/rust-libgit2-sys.spec index bd2defc..bcffa15 100644 --- a/rust-libgit2-sys.spec +++ b/rust-libgit2-sys.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate libgit2-sys -%global upstream_version 0.12.25+1.3.0 +%global upstream_version 0.12.26+1.3.0 Name: rust-%{crate} -Version: 0.12.25 +Version: 0.12.26 Release: %autorelease Summary: Native bindings to the libgit2 library @@ -19,9 +19,6 @@ Source: %{crates_source %{crate} %{upstream_version}} Patch0: libgit2-sys-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -38,10 +35,10 @@ Requires: (pkgconfig(libgit2) >= 1.3.0 with pkgconfig(libgit2) < 2.0.0) %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE +%license LICENSE-APACHE LICENSE-MIT %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -51,7 +48,7 @@ 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. +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -63,7 +60,7 @@ BuildArch: noarch %description -n %{name}+https-devel %{_description} This package contains library source intended for building other packages which -use "the https" feature of the "%{crate}" crate. +use the "https" feature of the "%{crate}" crate. %files -n %{name}+https-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -75,7 +72,7 @@ BuildArch: noarch %description -n %{name}+libssh2-sys-devel %{_description} This package contains library source intended for building other packages which -use "the libssh2-sys" feature of the "%{crate}" crate. +use the "libssh2-sys" feature of the "%{crate}" crate. %files -n %{name}+libssh2-sys-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -87,7 +84,7 @@ BuildArch: noarch %description -n %{name}+openssl-sys-devel %{_description} This package contains library source intended for building other packages which -use "the openssl-sys" feature of the "%{crate}" crate. +use the "openssl-sys" feature of the "%{crate}" crate. %files -n %{name}+openssl-sys-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -99,7 +96,7 @@ BuildArch: noarch %description -n %{name}+ssh-devel %{_description} This package contains library source intended for building other packages which -use "the ssh" feature of the "%{crate}" crate. +use the "ssh" feature of the "%{crate}" crate. %files -n %{name}+ssh-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -111,7 +108,7 @@ BuildArch: noarch %description -n %{name}+ssh_key_from_memory-devel %{_description} This package contains library source intended for building other packages which -use "the ssh_key_from_memory" feature of the "%{crate}" crate. +use the "ssh_key_from_memory" feature of the "%{crate}" crate. %files -n %{name}+ssh_key_from_memory-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -124,9 +121,7 @@ rm -vrf libgit2 %generate_buildrequires %cargo_generate_buildrequires -%if ! %{__cargo_skip_build} echo '(pkgconfig(libgit2) >= 1.3.0 with pkgconfig(libgit2) < 2.0.0)' -%endif %build %cargo_build diff --git a/sources b/sources index dc7e89e..546d1a1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libgit2-sys-0.12.25+1.3.0.crate) = b97e69aa44e4c5f5b4ada9bea71fe12cf3613f37e68064200af08acd84af5355825629ac572f4f25fa81317a2593c445d942fe8a6bad3704ea385e6dc79e8142 +SHA512 (libgit2-sys-0.12.26+1.3.0.crate) = de30865b3d4ab0288e090381e5646e3e8028c341fac93014168fcfa5f166f7fbad9fc4ebd285919247cc6bac178658eb936ea1fdf168068248be07ad34ecc54d