@@ -2,24 +2,24 @@ Vendor: Microsoft Corporation
22Distribution: 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
1414Name: libbytesize
15- Version: 2.5
16- Release: 3 %{?dist }
15+ Version: 2.11
16+ Release: 1 %{?dist }
1717Summary: A library for working with sizes in bytes
1818License: LGPLv2+
1919URL: https://github.com/storaged-project/libbytesize
2020Source0: https://github.com/storaged-project/libbytesize/releases/download/%{version }/%{name }-%{version }.tar.gz
2121
22- BuildRequires: %{ _bindir }/xsltproc
22+ BuildRequires: make
2323BuildRequires: gcc
2424BuildRequires: gmp-devel
2525BuildRequires: mpfr-devel
@@ -50,7 +50,6 @@ with the libbytesize library.
5050%package -n python3-%{realname }
5151Summary: Python 3 bindings for libbytesize
5252Requires: %{name }%{?_isa } = %{version }-%{release }
53- Requires: python3-six
5453
5554%description -n python3-%{realname }
5655This 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.
0 commit comments