libprotobuf-devel: require protobuf; python-protobuf: use distdeps; fixed url [release 3.17.0-2mamba;Sat May 15 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 10:33:06 +01:00
parent 62c802163d
commit 0711832d78

View File

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