From 2ab62311751e27d675441f56cf7bd4494e75dcea Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 14 Jul 2019 13:34:21 +0200 Subject: [PATCH] Obsolete libgit2_0.28 Signed-off-by: Igor Gnatenko --- libgit2.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/libgit2.spec b/libgit2.spec index c898208..8b068fe 100644 --- a/libgit2.spec +++ b/libgit2.spec @@ -1,6 +1,6 @@ Name: libgit2 Version: 0.28.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C implementation of the Git core methods as a library with a solid API License: GPLv2 with exceptions URL: https://libgit2.org/ @@ -16,6 +16,7 @@ BuildRequires: openssl-devel BuildRequires: python3 BuildRequires: zlib-devel Provides: bundled(libxdiff) +Obsoletes: libgit2_0.28 < 0.28.2-2 %description libgit2 is a portable, pure C implementation of the Git core methods @@ -26,6 +27,7 @@ with bindings. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: libgit2_0.28-devel < 0.28.2-2 %description devel This package contains libraries and header files for @@ -58,20 +60,21 @@ rm -frv deps %check %ninja_test -C %{_target_platform} -%ldconfig_scriptlets - %files %license COPYING -%{_libdir}/%{name}.so.* +%{_libdir}/libgit2.so.* %files devel %doc AUTHORS docs examples README.md -%{_libdir}/%{name}.so -%{_libdir}/pkgconfig/%{name}.pc +%{_libdir}/libgit2.so +%{_libdir}/pkgconfig/libgit2.pc %{_includedir}/git2.h %{_includedir}/git2/ %changelog +* Sun Jul 14 13:34:04 CEST 2019 Igor Gnatenko - 0.28.2-2 +- Obsolete libgit2_0.28 + * Thu Jun 06 14:22:16 CEST 2019 Igor Gnatenko - 0.28.2-1 - Update to 0.28.2