libprotobuf-devel: require protobuf; python-protobuf: use distdeps; fixed url [release 3.17.0-2mamba;Sat May 15 2021]
This commit is contained in:
parent
62c802163d
commit
0711832d78
@ -1,19 +1,21 @@
|
||||
Name: protobuf
|
||||
Version: 3.16.0
|
||||
Release: 1mamba
|
||||
Version: 3.17.0
|
||||
Release: 2mamba
|
||||
Summary: A way of encoding structured data in an efficient yet extensible format
|
||||
Group: Development/Tools
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
||||
URL: https://code.google.com/p/protobuf/
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/google/protobuf
|
||||
Source: https://github.com/google/protobuf.git/v%{version}/protobuf-%{version}.tar.bz2
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: python3.7dist(six)
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
@ -32,8 +34,9 @@ This package contains shared libraries for %{name}.
|
||||
Summary: Devel package for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Provides: protobuf-devel
|
||||
Obsoletes: protobuf-devel
|
||||
Obsoletes: protobuf-devel < 3.17.0
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
This package contains static libraries and header files needed for development of Protocol Buffer
|
||||
@ -75,7 +78,7 @@ cd python
|
||||
--install-lib=%{python3_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -107,8 +110,16 @@ sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%files -n python-%{name} -f python/%{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%dir %{python3_sitearch}/protobuf-%{version}-py*.egg-info
|
||||
%{python3_sitearch}/protobuf-%{version}-py*.egg-info/*
|
||||
|
||||
%changelog
|
||||
* Sat May 15 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.17.0-2mamba
|
||||
- libprotobuf-devel: require protobuf; python-protobuf: use distdeps; fixed url
|
||||
|
||||
* Fri May 14 2021 Automatic Build System <autodist@mambasoft.it> 3.17.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun May 09 2021 Automatic Build System <autodist@mambasoft.it> 3.16.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user