|
|
@ -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
|
|
|
|