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 <nils@redhat.com>
This commit is contained in:
parent
697696c382
commit
2a568bde25
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user