add conflict protobuf-compile

(cherry picked from commit 943a289a7ed14faf35711ab775f7afbf4a336c38)
This commit is contained in:
Weijian Wen 2023-12-12 15:30:58 +08:00 committed by openeuler-sync-bot
parent 0b21bf08b4
commit 23836e1b36

View File

@ -6,7 +6,7 @@
Summary: Protocol Buffers - Google's data interchange format
Name: protobuf2
Version: 2.5.0
Release: 3
Release: 4
License: BSD
Source: http://protobuf.googlecode.com/files/protobuf-%{version}.tar.bz2
Source1: ftdetect-proto.vim
@ -35,6 +35,7 @@ breaking deployed programs that are compiled against the "old" format.
%package compiler
Summary: Protocol Buffers compiler
Requires: %{name} = %{version}-%{release}
Conflicts: protobuf-compiler
%description compiler
This package contains Protocol Buffers compiler for all programming
languages
@ -241,6 +242,9 @@ install -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{emacs_startdir}
%endif
%changelog
* Tue Dec 12 2023 wenweijian <wenweijian2@huawei.com> - 2.5.0-4
- Add conflict protobuf-compiler
* Wed Aug 18 2021 lingsheng <lingsheng@huawei.com> - 2.5.0-3
- Modify subpackage's install require