Skip to content

Commit

Permalink
Merge pull request #1324 from wasphin/feature/fix-rpm-spec
Browse files Browse the repository at this point in the history
Fix rpm spec
  • Loading branch information
jamesge authored Feb 3, 2021
2 parents e9d8f84 + 04a191a commit 60159fc
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions package/rpm/brpc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ Summary: An industrial-grade RPC framework used throughout Baidu, with 1,000,000
Group: Development
License: Apache2
URL: https://github.com/apache/incubator-brpc
Source0: incubator-brpc-%{name}.tar.gz
Source0: incubator-brpc-%{version}.tar.gz

# https://access.redhat.com/solutions/519993
%global _filter_GLIBC_PRIVATE 1
%global __filter_GLIBC_PRIVATE 1

%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
Expand All @@ -18,16 +20,13 @@ Source0: incubator-brpc-%{name}.tar.gz

%if 0%{?use_devtoolset}
BuildRequires: devtoolset-8-gcc-c++
%define __strip /opt/rh/devtoolset-8/root/usr/bin/strip
%endif

BuildRequires: gflags-devel
BuildRequires: protobuf-devel
BuildRequires: gflags-devel >= 2.1
BuildRequires: protobuf-devel >= 2.4
BuildRequires: leveldb-devel
BuildRequires: openssl-devel
Requires: gflags
Requires: protobuf
Requires: leveldb
Requires: openssl-libs

%description
An industrial-grade RPC framework used throughout Baidu, with 1,000,000+ instances(not counting clients) and thousands kinds of services.
Expand Down

0 comments on commit 60159fc

Please sign in to comment.