forked from microsoft/azurelinux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove protobuf-c static sub-package. (microsoft#8283)
Co-authored-by: lanzeliu <[email protected]>
- Loading branch information
Showing
1 changed file
with
5 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Summary: Google's data interchange format - C implementation | ||
Name: protobuf-c | ||
Version: 1.5.0 | ||
Release: 2%{?dist} | ||
Release: 3%{?dist} | ||
License: BSD-3-Clause | ||
Vendor: Microsoft Corporation | ||
Distribution: Azure Linux | ||
|
@@ -31,14 +31,6 @@ Requires: %{name} = %{version}-%{release} | |
The protobuf-c-devel package contains libraries and header files for | ||
developing applications that use protobuf-c. | ||
|
||
%package static | ||
Summary: protobuf-c static lib | ||
Group: Development/Libraries | ||
Requires: %{name} = %{version}-%{release} | ||
|
||
%description static | ||
The protobuf-c-static package contains static protobuf-c libraries. | ||
|
||
%prep | ||
%autosetup -p1 | ||
|
||
|
@@ -49,6 +41,7 @@ The protobuf-c-static package contains static protobuf-c libraries. | |
%install | ||
%make_install | ||
find %{buildroot} -type f -name "*.la" -delete -print | ||
find %{buildroot} -type f -name "libprotobuf-c.a" -delete -print | ||
|
||
%check | ||
%make_build check | ||
|
@@ -68,11 +61,10 @@ find %{buildroot} -type f -name "*.la" -delete -print | |
%{_libdir}/pkgconfig/* | ||
%{_libdir}/libprotobuf-c.so | ||
|
||
%files static | ||
%defattr(-,root,root) | ||
%{_libdir}/libprotobuf-c.a | ||
|
||
%changelog | ||
* Wed Mar 06 2024 Lanze Liu <[email protected]> - 1.5.0-3 | ||
- Remove protobuf-c static sub-package | ||
|
||
* Tue Mar 05 2024 Lanze Liu <[email protected]> - 1.5.0-2 | ||
- Add missing dependencies protobuf and protobuf-static | ||
|
||
|