Compare commits

..

No commits in common. 'i9ce' and 'i10ce' have entirely different histories.
i9ce ... i10ce

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/libgit2-sys-0.17.0+1.8.1.crate

@ -0,0 +1 @@
2375bebc9b853b42f519d2a9ee15bfee2c562d3d SOURCES/libgit2-sys-0.17.0+1.8.1.crate

@ -18,7 +18,7 @@ index b497005..4bf1136 100644
-/// Tries to use system libgit2 and emits necessary build script instructions. -/// Tries to use system libgit2 and emits necessary build script instructions.
-fn try_system_libgit2() -> Result<pkg_config::Library, pkg_config::Error> { -fn try_system_libgit2() -> Result<pkg_config::Library, pkg_config::Error> {
- let mut cfg = pkg_config::Config::new(); - let mut cfg = pkg_config::Config::new();
- match cfg.range_version("1.7.1".."1.8.0").probe("libgit2") { - match cfg.range_version("1.8.1".."1.9.0").probe("libgit2") {
- Ok(lib) => { - Ok(lib) => {
- for include in &lib.include_paths { - for include in &lib.include_paths {
- println!("cargo:root={}", include.display()); - println!("cargo:root={}", include.display());

@ -0,0 +1,16 @@
--- libgit2-sys-0.17.0+1.8.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ libgit2-sys-0.17.0+1.8.1/Cargo.toml 2024-10-29T16:56:20.415096+00:00
@@ -12,7 +12,7 @@
[package]
edition = "2018"
name = "libgit2-sys"
-version = "0.17.0+1.8.1"
+version = "0.17.0"
authors = [
"Josh Triplett <josh@joshtriplett.org>",
"Alex Crichton <alex@alexcrichton.com>",
@@ -67,3 +67,4 @@
[target."cfg(unix)".dependencies.openssl-sys]
version = "0.9.45"
optional = true
+

@ -1,14 +1,5 @@
--- libgit2-sys-0.16.1+1.7.1/Cargo.toml 1970-01-01T00:00:01+00:00 --- libgit2-sys-0.17.0+1.8.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ libgit2-sys-0.16.1+1.7.1/Cargo.toml 2023-09-19T19:56:54.584806+00:00 +++ libgit2-sys-0.17.0+1.8.1/Cargo.toml 2024-10-29T16:56:35.928174+00:00
@@ -12,7 +12,7 @@
[package]
edition = "2018"
name = "libgit2-sys"
-version = "0.16.1+1.7.1"
+version = "0.16.1"
authors = [
"Josh Triplett <josh@joshtriplett.org>",
"Alex Crichton <alex@alexcrichton.com>",
@@ -27,7 +27,7 @@ @@ -27,7 +27,7 @@
"libgit2/tests/*", "libgit2/tests/*",
] ]

@ -1,5 +1,5 @@
## START: Set by rpmautospec ## START: Set by rpmautospec
## (rpmautospec version 0.3.5) ## (rpmautospec version 0.7.3)
## RPMAUTOSPEC: autorelease, autochangelog ## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: %define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1; release_number = 1;
@ -8,34 +8,36 @@
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec ## END: Set by rpmautospec
# Generated by rust2rpm 24 # Generated by rust2rpm 26
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate libgit2-sys %global crate libgit2-sys
%global crate_version 0.16.1+1.7.1 %global upstream_version 0.17.0+1.8.1
Name: rust-libgit2-sys Name: rust-libgit2-sys
Version: 0.16.1 Version: 0.17.0
Release: %autorelease Release: %autorelease
Summary: Native bindings to the libgit2 library Summary: Native bindings to the libgit2 library
# * libgit2-sys crate: MIT OR Apache-2.0 # * libgit2-sys crate: MIT OR Apache-2.0
# * bundled libgit2: GPL-2.0-only WITH GCC-exception-2.0 # * bundled libgit2: GPL-2.0-only WITH GCC-exception-2.0
# * bundled http-parser: MIT # * bundled llhttp: MIT
# * bundled pcre: BSD-3-Clause # * bundled pcre: BSD-3-Clause
License: (MIT OR Apache-2.0) AND BSD-3-Clause AND GPL-2.0-only WITH GCC-exception-2.0 AND MIT License: (MIT OR Apache-2.0) AND BSD-3-Clause AND GPL-2.0-only WITH GCC-exception-2.0 AND MIT
URL: https://crates.io/crates/libgit2-sys URL: https://crates.io/crates/libgit2-sys
Source: %{crates_source %{crate} %{crate_version}} Source: %{crates_source %{crate} %{upstream_version}}
# Automatically generated patch to strip dependencies and normalize metadata
Patch: libgit2-sys-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# * remove libgit2 version from version field
# * update package.license field to reflect bundled dependencies # * update package.license field to reflect bundled dependencies
# * drop features for statically linking against vendored OpenSSL
Patch: libgit2-sys-fix-metadata.diff Patch: libgit2-sys-fix-metadata.diff
# * build against the bundled copy of libgit2 unconditionally: # * build against the bundled copy of libgit2 unconditionally:
# the version in the Fedora repositories is always either too old or too new # the version in the Fedora repositories is always either too old or too new
Patch: 0001-build-with-vendored-libgit2-unconditionally.patch Patch: 0001-build-with-vendored-libgit2-unconditionally.patch
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Native bindings to the libgit2 library.} Native bindings to the libgit2 library.}
@ -46,9 +48,9 @@ Native bindings to the libgit2 library.}
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
Provides: bundled(libgit2) = 1.7.1 Provides: bundled(libgit2) = 1.8.1
Provides: bundled(http-parser) = 2.0 Provides: bundled(llhttp) = 9.2.1
Provides: bundled(pcre) = 8.44 Provides: bundled(pcre) = 8.45
%description devel %{_description} %description devel %{_description}
@ -59,7 +61,7 @@ use the "%{crate}" crate.
%license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT %license %{crate_instdir}/LICENSE-MIT
%license %{crate_instdir}/libgit2/COPYING %license %{crate_instdir}/libgit2/COPYING
%license %{crate_instdir}/libgit2/deps/http-parser/COPYING %license %{crate_instdir}/libgit2/deps/llhttp/LICENSE-MIT
%license %{crate_instdir}/libgit2/deps/pcre/LICENCE %license %{crate_instdir}/libgit2/deps/pcre/LICENCE
%doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/CHANGELOG.md
%{crate_instdir}/ %{crate_instdir}/
@ -149,7 +151,7 @@ use the "vendored" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{crate_version} -p1 %autosetup -n %{crate}-%{upstream_version} -p1
# remove upstream development scripts from libgit2 # remove upstream development scripts from libgit2
rm -r libgit2/script/ rm -r libgit2/script/
# remove unused bundled dependencies # remove unused bundled dependencies
@ -174,8 +176,21 @@ rm -r libgit2/deps/zlib
%endif %endif
%changelog %changelog
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.16.1-1 * Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.17.0-1
- Rebuilt for MSVSphere 9.3 - Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Tue Oct 29 2024 Fabio Valentini <decathorpe@gmail.com> - 0.17.0-1
- Update to version 0.17.0+1.8.1; Fixes RHBZ#2292306
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Tue Feb 13 2024 Fabio Valentini <decathorpe@gmail.com> - 0.16.2-1
- Update to version 0.16.2+1.7.2; Fixes RHBZ#2263125
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Sep 19 2023 Fabio Valentini <decathorpe@gmail.com> - 0.16.1-1 * Tue Sep 19 2023 Fabio Valentini <decathorpe@gmail.com> - 0.16.1-1
- Update to version 0.16.1+1.7.1; Fixes RHBZ#2235484 - Update to version 0.16.1+1.7.1; Fixes RHBZ#2235484
@ -357,3 +372,4 @@ rm -r libgit2/deps/zlib
* Sun Nov 26 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.16-1 * Sun Nov 26 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.16-1
- Initial package - Initial package
## END: Generated by rpmautospec

Loading…
Cancel
Save