!18 [sync] PR-17: Add conflicts protobuf-compiler
From: @openeuler-sync-bot Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
31b6da1f0d
@ -6,7 +6,7 @@
|
|||||||
Summary: Protocol Buffers - Google's data interchange format
|
Summary: Protocol Buffers - Google's data interchange format
|
||||||
Name: protobuf2
|
Name: protobuf2
|
||||||
Version: 2.5.0
|
Version: 2.5.0
|
||||||
Release: 3
|
Release: 4
|
||||||
License: BSD
|
License: BSD
|
||||||
Source: http://protobuf.googlecode.com/files/protobuf-%{version}.tar.bz2
|
Source: http://protobuf.googlecode.com/files/protobuf-%{version}.tar.bz2
|
||||||
Source1: ftdetect-proto.vim
|
Source1: ftdetect-proto.vim
|
||||||
@ -35,6 +35,7 @@ breaking deployed programs that are compiled against the "old" format.
|
|||||||
%package compiler
|
%package compiler
|
||||||
Summary: Protocol Buffers compiler
|
Summary: Protocol Buffers compiler
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Conflicts: protobuf-compiler
|
||||||
%description compiler
|
%description compiler
|
||||||
This package contains Protocol Buffers compiler for all programming
|
This package contains Protocol Buffers compiler for all programming
|
||||||
languages
|
languages
|
||||||
@ -43,6 +44,7 @@ languages
|
|||||||
Summary: Protocol Buffers C++ headers and libraries
|
Summary: Protocol Buffers C++ headers and libraries
|
||||||
Requires: %{name} = %{version}-%{release} %{name}-compiler = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release} %{name}-compiler = %{version}-%{release}
|
||||||
Requires: zlib-devel pkgconfig
|
Requires: zlib-devel pkgconfig
|
||||||
|
Conflicts: protobuf-devel
|
||||||
%description devel
|
%description devel
|
||||||
This package contains Protocol Buffers compiler for all languages and
|
This package contains Protocol Buffers compiler for all languages and
|
||||||
C++ headers and libraries
|
C++ headers and libraries
|
||||||
@ -241,6 +243,9 @@ install -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{emacs_startdir}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Aug 18 2021 lingsheng <lingsheng@huawei.com> - 2.5.0-3
|
||||||
- Modify subpackage's install require
|
- Modify subpackage's install require
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user