Skip to content

Commit 8f91134

Browse files
authored
libbytesize: update version to 2.11 (#10964)
1 parent d83cde4 commit 8f91134

3 files changed

Lines changed: 14 additions & 11 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"libbytesize-2.5.tar.gz": "6305addae2b7be313dbfc36b96094ec0544d5144859ab4a5685ca6d314d6fdda"
3+
"libbytesize-2.11.tar.gz": "1f6ce157750ed1201ce83edd3c23d997a615c7da30f9a0e5bb44635f66768d81"
44
}
55
}

SPECS-EXTENDED/libbytesize/libbytesize.spec

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@ Vendor: Microsoft Corporation
22
Distribution: Azure Linux
33
%define realname bytesize
44
%define with_python3 1
5-
%define with_gtk_doc 0
5+
%define with_gtk_doc 1
66
%define with_tools 1
77

88
%if %{with_tools} != 1
99
%define tools_opts --without-tools
1010
%endif
1111

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

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

22-
BuildRequires: %{_bindir}/xsltproc
22+
BuildRequires: make
2323
BuildRequires: gcc
2424
BuildRequires: gmp-devel
2525
BuildRequires: mpfr-devel
@@ -50,7 +50,6 @@ with the libbytesize library.
5050
%package -n python3-%{realname}
5151
Summary: Python 3 bindings for libbytesize
5252
Requires: %{name}%{?_isa} = %{version}-%{release}
53-
Requires: python3-six
5453

5554
%description -n python3-%{realname}
5655
This package contains Python 3 bindings for libbytesize making the use of
@@ -68,11 +67,11 @@ for doing calculations with storage sizes.
6867
%endif
6968

7069
%prep
71-
%setup -q -n %{name}-%{version}
70+
%autosetup -n %{name}-%{version}
7271

7372
%build
7473
%configure %{?configure_opts}
75-
%{__make} %{?_smp_mflags}
74+
%make_build
7675

7776
%install
7877
%{make_install}
@@ -111,6 +110,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
111110
%endif
112111

113112
%changelog
113+
* Thu Nov 07 2024 Jyoti Kanase <v-jykanase@microsoft.com> - 2.11-1
114+
- update to version 2.11
115+
- License verified.
116+
114117
* Mon Mar 21 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.5-3
115118
- Adding BR on '%%{_bindir}/xsltproc'.
116119
- Disabled gtk doc generation to remove network dependency during build-time.

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8811,8 +8811,8 @@
88118811
"type": "other",
88128812
"other": {
88138813
"name": "libbytesize",
8814-
"version": "2.5",
8815-
"downloadUrl": "https://github.com/storaged-project/libbytesize/releases/download/2.5/libbytesize-2.5.tar.gz"
8814+
"version": "2.11",
8815+
"downloadUrl": "https://github.com/storaged-project/libbytesize/releases/download/2.11/libbytesize-2.11.tar.gz"
88168816
}
88178817
}
88188818
},

0 commit comments

Comments
 (0)