Commit 41cc7af6 authored by Michał Kępień's avatar Michał Kępień
Browse files

Sync *.spec with Fedora

parent a7ab9f28
......@@ -8,7 +8,7 @@
%{!?scl:%global pkg_name %{name}}
Name: %{?scl_prefix}protobuf-c
Version: 1.3.2
Version: 1.3.3
Release: 3%{?dist}
Summary: C bindings for Google's Protocol Buffers
......@@ -16,7 +16,6 @@ License: BSD
URL: https://github.com/protobuf-c/protobuf-c
Source0: %{url}/releases/download/v%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: autoconf automake libtool
BuildRequires: gcc-c++
BuildRequires: pkgconfig(protobuf)
%if 0%{?rhel} && 0%{?rhel} < 8
......@@ -28,11 +27,11 @@ BuildRequires: devtoolset-8
%{?scl:Requires: %scl_runtime}
%description
Protocol Buffers are a way of encoding structured data in an efficient yet
Protocol Buffers are a way of encoding structured data in an efficient yet
extensible format. This package provides a code generator and run-time
libraries to use Protocol Buffers from pure C (not C++).
It uses a modified version of protoc called protoc-c.
It uses a modified version of protoc called protoc-c.
%package compiler
Summary: Protocol Buffers C compiler
......@@ -54,7 +53,6 @@ This package contains protobuf-c headers and libraries.
%setup -q -n %{pkg_name}-%{version}
%build
# autoreconf -ifv
%if 0%{?rhel} && 0%{?rhel} < 8
scl enable devtoolset-8 -- <<\EOF
%endif
......@@ -95,6 +93,13 @@ rm -vf $RPM_BUILD_ROOT/%{_libdir}/libprotobuf-c.la
%{_libdir}/pkgconfig/libprotobuf-c.pc
%changelog
* Sun Jun 14 2020 Adrian Reber <adrian@lisas.de> - 1.3.3-2
- Rebuilt for protobuf 3.12
* Mon Mar 30 2020 Adrian Reber <adrian@lisas.de> - 1.3.3-1
- Update to 1.3.3
- Removed call to autoreconf
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment