Skip to content

Commit

Permalink
libbytesize: update version to 2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
jykanase committed Nov 7, 2024
1 parent 32d38c5 commit f1158d7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion SPECS-EXTENDED/libbytesize/libbytesize.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"libbytesize-2.5.tar.gz": "6305addae2b7be313dbfc36b96094ec0544d5144859ab4a5685ca6d314d6fdda"
"libbytesize-2.11.tar.gz": "1f6ce157750ed1201ce83edd3c23d997a615c7da30f9a0e5bb44635f66768d81"
}
}
17 changes: 10 additions & 7 deletions SPECS-EXTENDED/libbytesize/libbytesize.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ Vendor: Microsoft Corporation
Distribution: Azure Linux
%define realname bytesize
%define with_python3 1
%define with_gtk_doc 0
%define with_gtk_doc 1
%define with_tools 1

%if %{with_tools} != 1
%define tools_opts --without-tools
%endif

%define configure_opts %{?python3_opts} %{?tools_opts} --without-gtk-doc
%define configure_opts %{?python3_opts} %{?tools_opts}

Name: libbytesize
Version: 2.5
Release: 3%{?dist}
Version: 2.11
Release: 1%{?dist}
Summary: A library for working with sizes in bytes
License: LGPLv2+
URL: https://github.com/storaged-project/libbytesize
Source0: https://github.com/storaged-project/libbytesize/releases/download/%{version}/%{name}-%{version}.tar.gz

BuildRequires: %{_bindir}/xsltproc
BuildRequires: make
BuildRequires: gcc
BuildRequires: gmp-devel
BuildRequires: mpfr-devel
Expand Down Expand Up @@ -50,7 +50,6 @@ with the libbytesize library.
%package -n python3-%{realname}
Summary: Python 3 bindings for libbytesize
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: python3-six

%description -n python3-%{realname}
This package contains Python 3 bindings for libbytesize making the use of
Expand All @@ -72,7 +71,7 @@ for doing calculations with storage sizes.

%build
%configure %{?configure_opts}
%{__make} %{?_smp_mflags}
%make_build

%install
%{make_install}
Expand Down Expand Up @@ -111,6 +110,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%endif

%changelog
* Thu Nov 07 2024 Jyoti Kanase <[email protected]> - 2.11-1
- update to version 2.11
- License verified.

* Mon Mar 21 2022 Pawel Winogrodzki <[email protected]> - 2.5-3
- Adding BR on '%%{_bindir}/xsltproc'.
- Disabled gtk doc generation to remove network dependency during build-time.
Expand Down
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8731,8 +8731,8 @@
"type": "other",
"other": {
"name": "libbytesize",
"version": "2.5",
"downloadUrl": "https://github.com/storaged-project/libbytesize/releases/download/2.5/libbytesize-2.5.tar.gz"
"version": "2.11",
"downloadUrl": "https://github.com/storaged-project/libbytesize/releases/download/2.11/libbytesize-2.11.tar.gz"
}
}
},
Expand Down

0 comments on commit f1158d7

Please sign in to comment.