forked from pool/protobuf-c
- Update to new upstream release 1.3.1
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/protobuf-c?expand=0&rev=19
This commit is contained in:
parent
b537b02b94
commit
7fb44790f3
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5dc9ad7a9b889cf7c8ff6bf72215f1874a90260f60ad4f88acf21bb15d2752a1
|
|
||||||
size 488443
|
|
3
protobuf-c-1.3.1.tar.gz
Normal file
3
protobuf-c-1.3.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:51472d3a191d6d7b425e32b612e477c06f73fe23e07f6a6a839b11808e9d2267
|
||||||
|
size 498779
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 5 10:14:36 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to new upstream release 1.3.1
|
||||||
|
* Restore protobuf-2.x compatibility
|
||||||
|
* Convert uses of protobuf's scoped_ptr.h to C++11 std::unique_ptr,
|
||||||
|
needed to compile against protobuf 3.6.1.
|
||||||
|
- Rename %soname to %sover to better reflect its use.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 22 14:29:07 UTC 2017 - jengelh@inai.de
|
Fri Dec 22 14:29:07 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package protobuf-c
|
# spec file for package protobuf-c
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2011 Pascal Bleser
|
# Copyright (c) 2011 Pascal Bleser
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -13,18 +13,18 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: protobuf-c
|
Name: protobuf-c
|
||||||
Version: 1.3.0
|
Version: 1.3.1
|
||||||
Release: 0
|
Release: 0
|
||||||
%define soname 1
|
%define sover 1
|
||||||
Summary: C bindings for Google's Protocol Buffers
|
Summary: C bindings for Google's Protocol Buffers
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Source: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
Source: https://github.com/protobuf-c/protobuf-c/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||||
Source99: protobuf-c-rpmlintrc
|
Source99: protobuf-c-rpmlintrc
|
||||||
Url: https://github.com/protobuf-c/protobuf-c
|
Url: https://github.com/protobuf-c/protobuf-c
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -44,20 +44,18 @@ 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 -n libprotobuf-c%{soname}
|
%package -n libprotobuf-c%{sover}
|
||||||
|
|
||||||
Summary: C bindings for Google's Protocol Buffers
|
Summary: C bindings for Google's Protocol Buffers
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libprotobuf-c%{soname}
|
%description -n libprotobuf-c%{sover}
|
||||||
This package provides a code generator and runtime libraries to use Protocol
|
This package provides a code generator and runtime libraries to use Protocol
|
||||||
Buffers from pure C (not C++).
|
Buffers from pure C (not C++).
|
||||||
|
|
||||||
%package -n libprotobuf-c-devel
|
%package -n libprotobuf-c-devel
|
||||||
|
|
||||||
Summary: C bindings for Google's Protocol Buffers
|
Summary: C bindings for Google's Protocol Buffers
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libprotobuf-c%{soname} = %{version}
|
Requires: libprotobuf-c%{sover} = %{version}
|
||||||
|
|
||||||
%description -n libprotobuf-c-devel
|
%description -n libprotobuf-c-devel
|
||||||
This package provides a code generator and runtime libraries to use Protocol
|
This package provides a code generator and runtime libraries to use Protocol
|
||||||
@ -89,7 +87,7 @@ make %{?_smp_flags}
|
|||||||
%install
|
%install
|
||||||
%if 0
|
%if 0
|
||||||
pushd build
|
pushd build
|
||||||
%makeinstall
|
%make_install
|
||||||
popd #build
|
popd #build
|
||||||
%else
|
%else
|
||||||
%make_install
|
%make_install
|
||||||
@ -97,8 +95,8 @@ popd #build
|
|||||||
rm "%{buildroot}/%{_libdir}"/*.a
|
rm "%{buildroot}/%{_libdir}"/*.a
|
||||||
rm "%{buildroot}/%{_libdir}"/*.la
|
rm "%{buildroot}/%{_libdir}"/*.la
|
||||||
|
|
||||||
%post -n libprotobuf-c%{soname} -p /sbin/ldconfig
|
%post -n libprotobuf-c%{sover} -p /sbin/ldconfig
|
||||||
%postun -n libprotobuf-c%{soname} -p /sbin/ldconfig
|
%postun -n libprotobuf-c%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -106,11 +104,11 @@ rm "%{buildroot}/%{_libdir}"/*.la
|
|||||||
%{_bindir}/protoc-c
|
%{_bindir}/protoc-c
|
||||||
%{_bindir}/protoc-gen-c
|
%{_bindir}/protoc-gen-c
|
||||||
|
|
||||||
%files -n libprotobuf-c%{soname}
|
%files -n libprotobuf-c%{sover}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
%{_libdir}/libprotobuf-c.so.%{soname}
|
%{_libdir}/libprotobuf-c.so.%{sover}
|
||||||
%{_libdir}/libprotobuf-c.so.%{soname}.*
|
%{_libdir}/libprotobuf-c.so.%{sover}.*
|
||||||
|
|
||||||
%files -n libprotobuf-c-devel
|
%files -n libprotobuf-c-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user