From 2a568bde2537c6a50089b0ecd584d515c7dfa6ef Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Tue, 5 Jul 2022 17:38:22 +0200 Subject: [PATCH] Drop pre-built previous ABI version Including pre-built binaries violates Fedora Packaging Guidelines. For details, see: https://docs.fedoraproject.org/en-US/packaging-guidelines/what-can-be-packaged/#prebuilt-binaries-or-libraries Signed-off-by: Nils Philippsen --- libgit2.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libgit2.spec b/libgit2.spec index 13773f9..e247048 100644 --- a/libgit2.spec +++ b/libgit2.spec @@ -27,7 +27,6 @@ BuildRequires: openssl-devel BuildRequires: pcre2-devel BuildRequires: python3 BuildRequires: zlib-devel -BuildRequires: libgit2 Provides: bundled(libxdiff) %description @@ -73,8 +72,6 @@ rm -vr deps %install %cmake_install -# Include previous ABI version for temporary binary compatibility -cp -a %{_libdir}/libgit2.so.1.1* %{buildroot}%{_libdir} %check %ctest @@ -82,7 +79,6 @@ cp -a %{_libdir}/libgit2.so.1.1* %{buildroot}%{_libdir} %files %license COPYING %{_libdir}/libgit2.so.1.3* -%{_libdir}/libgit2.so.1.1* %files devel %doc AUTHORS docs examples README.md