File project.diff of Package libgit2
--- libgit2.spec.orig
+++ libgit2.spec
@@ -1,7 +1,7 @@
#
# spec file for package libgit2
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2011, Sascha Peilicke <saschpe@gmx.de>
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
@@ -52,12 +52,13 @@ provided as a re-entrant linkable librar
you to write native speed custom Git applications in any language
with bindings.
-%package devel
+%package %sover-devel
Summary: C git library
Group: Development/Libraries/C and C++
+Provides: %name-devel = %version-%release
Requires: %{name}-%{sover} >= %{version}
-%description devel
+%description %sover-devel
This package contains all necessary include files and libraries needed
to compile and develop applications that use libgit2.
@@ -90,7 +91,7 @@ find examples -type f -name ".gitignore"
%doc AUTHORS README.md
%{_libdir}/%{name}.so.*
-%files devel
+%files %sover-devel
%license COPYING
%doc examples
%{_libdir}/%{name}.so