|
 |
135edeb |
%define realname bytesize
|
|
 |
135edeb |
%define with_python3 1
|
|
 |
135edeb |
%define with_gtk_doc 1
|
|
 |
00c43ad |
%define with_tools 1
|
|
 |
135edeb |
|
|
 |
c7ba089 |
%if (! 0%{?fedora} && 0%{?rhel} <= 7) || %{with_python3} == 0
|
|
 |
135edeb |
%define with_python3 0
|
|
 |
c7ba089 |
%define python3_opts --without-python3
|
|
 |
00c43ad |
%define with_tools 0
|
|
 |
135edeb |
%endif
|
|
 |
135edeb |
|
|
 |
00c43ad |
%if %{with_tools} != 1
|
|
 |
00c43ad |
%define tools_opts --without-tools
|
|
 |
c7ba089 |
%endif
|
|
 |
c7ba089 |
|
|
 |
00c43ad |
%define configure_opts %{?python3_opts} %{?tools_opts}
|
|
 |
c7ba089 |
|
|
 |
79be28c |
Name: libbytesize
|
|
 |
f2c74e0 |
Version: 2.8
|
|
 |
f2c74e0 |
Release: 21%{?dist}
|
|
 |
79be28c |
Summary: A library for working with sizes in bytes
|
|
 |
af717cb |
License: LGPL-2.1-or-later
|
|
 |
e934733 |
URL: https://github.com/storaged-project/libbytesize
|
|
 |
f2c74e0 |
Source0: https://github.com/storaged-project/libbytesize/releases/download/%{version}/%{name}-%{version}.tar.gz
|
|
 |
79be28c |
|
|
 |
6509c22 |
BuildRequires: make
|
|
 |
81b4f42 |
BuildRequires: gcc
|
|
 |
79be28c |
BuildRequires: gmp-devel
|
|
 |
79be28c |
BuildRequires: mpfr-devel
|
|
 |
00c43ad |
BuildRequires: pcre2-devel
|
|
 |
79be28c |
BuildRequires: gettext-devel
|
|
 |
135edeb |
%if %{with_python3}
|
|
 |
79be28c |
BuildRequires: python3-devel
|
|
 |
135edeb |
%endif
|
|
 |
135edeb |
%if %{with_gtk_doc}
|
|
 |
79be28c |
BuildRequires: gtk-doc
|
|
 |
135edeb |
%endif
|
|
 |
79be28c |
|
|
 |
79be28c |
%description
|
|
 |
2369685 |
The libbytesize is a C library that facilitates work with sizes in
|
|
 |
2369685 |
bytes. Be it parsing the input from users or producing a nice human readable
|
|
 |
2369685 |
representation of a size in bytes this library takes localization into
|
|
 |
2369685 |
account. It also provides support for sizes bigger than MAXUINT64.
|
|
 |
79be28c |
|
|
 |
79be28c |
%package devel
|
|
 |
79be28c |
Summary: Development files for libbytesize
|
|
 |
79be28c |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
 |
79be28c |
|
|
 |
79be28c |
%description devel
|
|
 |
79be28c |
This package contains header files and pkg-config files needed for development
|
|
 |
79be28c |
with the libbytesize library.
|
|
 |
79be28c |
|
|
 |
135edeb |
%if %{with_python3}
|
|
 |
79be28c |
%package -n python3-%{realname}
|
|
 |
dd8a76a |
Summary: Python 3 bindings for libbytesize
|
|
 |
79be28c |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
 |
79be28c |
Requires: python3-six
|
|
 |
79be28c |
|
|
 |
79be28c |
%description -n python3-%{realname}
|
|
 |
dd8a76a |
This package contains Python 3 bindings for libbytesize making the use of
|
|
 |
79be28c |
the library from Python 3 easier and more convenient.
|
|
 |
135edeb |
%endif
|
|
 |
79be28c |
|
|
 |
00c43ad |
%if %{with_tools}
|
|
 |
00c43ad |
%package tools
|
|
 |
00c43ad |
Summary: Various nice tools based on libbytesize
|
|
 |
f6448c2 |
Requires: python3-%{realname} = %{version}-%{release}
|
|
 |
00c43ad |
|
|
 |
00c43ad |
%description tools
|
|
 |
00c43ad |
Various nice tools based on libbytesize, in particular the calculator
|
|
 |
00c43ad |
for doing calculations with storage sizes.
|
|
 |
00c43ad |
%endif
|
|
 |
00c43ad |
|
|
 |
79be28c |
%prep
|
|
 |
79be28c |
%setup -q -n %{name}-%{version}
|
|
 |
79be28c |
|
|
 |
79be28c |
%build
|
|
 |
135edeb |
%configure %{?configure_opts}
|
|
 |
064a89c |
%make_build
|
|
 |
79be28c |
|
|
 |
79be28c |
%install
|
|
 |
79be28c |
%{make_install}
|
|
 |
79be28c |
find %{buildroot} -type f -name "*.la" | xargs %{__rm}
|
|
 |
cf42661 |
%find_lang %{name}
|
|
 |
79be28c |
|
|
 |
79be28c |
|
|
 |
70d979f |
%ldconfig_scriptlets
|
|
 |
79be28c |
|
|
 |
cf42661 |
|
|
 |
cf42661 |
%files -f %{name}.lang
|
|
 |
2e0df42 |
%doc README.md
|
|
 |
79be28c |
%{!?_licensedir:%global license %%doc}
|
|
 |
79be28c |
%license LICENSE
|
|
 |
79be28c |
%{_libdir}/libbytesize.so.*
|
|
 |
79be28c |
|
|
 |
79be28c |
%files devel
|
|
 |
79be28c |
%{_libdir}/libbytesize.so
|
|
 |
79be28c |
%dir %{_includedir}/bytesize
|
|
 |
79be28c |
%{_includedir}/bytesize/bs_size.h
|
|
 |
79be28c |
%{_libdir}/pkgconfig/bytesize.pc
|
|
 |
135edeb |
%if %{with_gtk_doc}
|
|
 |
79be28c |
%{_datadir}/gtk-doc/html/libbytesize
|
|
 |
135edeb |
%endif
|
|
 |
79be28c |
|
|
 |
135edeb |
%if %{with_python3}
|
|
 |
79be28c |
%files -n python3-%{realname}
|
|
 |
0bac08b |
%dir %{python3_sitearch}/bytesize
|
|
 |
2369685 |
%{python3_sitearch}/bytesize/*
|
|
 |
135edeb |
%endif
|
|
 |
79be28c |
|
|
 |
00c43ad |
%if %{with_tools}
|
|
 |
00c43ad |
%files tools
|
|
 |
00c43ad |
%{_bindir}/bscalc
|
|
 |
00c43ad |
%{_mandir}/man1/bscalc.1*
|
|
 |
00c43ad |
%endif
|
|
 |
00c43ad |
|
|
 |
79be28c |
%changelog
|
|
 |
f2c74e0 |
* Fri Mar 24 2023 Vojtech Trefny <vtrefny@redhat.com> - 2.8-21
|
|
 |
f2c74e0 |
- New version - 2.8 (Vojtech Trefny)
|
|
 |
f2c74e0 |
- ci: Do not use release descriptions for Packit builds (Vojtech Trefny)
|
|
 |
f2c74e0 |
- Do not hardcode pylint executable name in Makefile (Vojtech Trefny)
|
|
 |
f2c74e0 |
- Remove unused test dependencies variables from Makefile (Vojtech Trefny)
|
|
 |
f2c74e0 |
- docs: Remove information about Python 2 support (Vojtech Trefny)
|
|
 |
f2c74e0 |
- Various docstring fixes (Vojtech Trefny)
|
|
 |
f2c74e0 |
- Replace C++ style comments with C style (Vojtech Trefny)
|
|
 |
f2c74e0 |
- Make use of error optional (Vojtech Trefny)
|
|
 |
f2c74e0 |
- spec: Fix source archive URL (Vojtech Trefny)
|
|
 |
f2c74e0 |
- ci: Add Packit automation for downstream builds (Vojtech Trefny)
|
|
 |
f2c74e0 |
- spec: Bump release to 21 for Packit daily builds (Vojtech Trefny)
|
|
 |
f2c74e0 |
- ci: Use Packit for daily builds in Copr (Vojtech Trefny)
|
|
 |
f2c74e0 |
- ci: Remove GitHub action for RPM builds (Vojtech Trefny)
|
|
 |
f2c74e0 |
- ci: Add Packit configuration for RPM builds on pull requests (Vojtech Trefny)
|
|
 |
f2c74e0 |
- configure.ac: Remove invalid email address for bug reports (Vojtech Trefny)
|
|
 |
f2c74e0 |
- ci: Update chroots for RPM builds (Vojtech Trefny)
|
|
 |
f2c74e0 |
- Translated using Weblate (Kazakh) (Baurzhan Muftakhidinov)
|
|
 |
f2c74e0 |
- Added translation using Weblate (Kazakh) (Baurzhan Muftakhidinov)
|
|
 |
f2c74e0 |
- misc: Remove "warn: false" from Ansible "command" (Vojtech Trefny)
|
|
 |
f2c74e0 |
- Translated using Weblate (Georgian) (Temuri Doghonadze)
|
|
 |
f2c74e0 |
- spec: Change license string to the SPDX format required by Fedora (Vojtech Trefny)
|
|
 |
f2c74e0 |
- Added translation using Weblate (Georgian) (Temuri Doghonadze)
|
|
 |
f2c74e0 |
- Update translation files (Weblate)
|
|
 |
f2c74e0 |
- Translated using Weblate (Korean) (김인수)
|
|
 |
f2c74e0 |
- ci: Update Fedora versions for RPM build tests (Vojtech Trefny)
|
|
 |
f2c74e0 |
- ci: Rename csmock.Dockerfile to ci.Dockerfile (Vojtech Trefny)
|
|
 |
f2c74e0 |
- ci: Update the csmock GitHub actions configuration (Vojtech Trefny)
|
|
 |
f2c74e0 |
- ci: Run rpmbuild tests in GitHub actions (Vojtech Trefny)
|
|
 |
f2c74e0 |
- Add a GitHub action for running csmock static analysis (Vojtech Trefny)
|
|
 |
f2c74e0 |
- README: Remove the Travis CI badge (Vojtech Trefny)
|
|
 |
f2c74e0 |
- Sync spec with downstream (Vojtech Trefny)
|
|
 |
f2c74e0 |
|
|
 |
5c14558 |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-5
|
|
 |
5c14558 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
5c14558 |
|
|
 |
af717cb |
* Fri Nov 11 2022 Vojtech Trefny <vtrefny@redhat.com> - 2.7-4
|
|
 |
af717cb |
- Change license string to the SPDX format required by Fedora
|
|
 |
af717cb |
|
|
 |
0761629 |
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-3
|
|
 |
0761629 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
0761629 |
|
|
 |
26b8d07 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.7-2
|
|
 |
26b8d07 |
- Rebuilt for Python 3.11
|
|
 |
26b8d07 |
|
|
 |
00fe98b |
* Wed May 25 2022 Vojtech Trefny <vtrefny@redhat.com> - 2.7-1
|
|
 |
00fe98b |
- Fix skipping tests when required locale is missing (vtrefny)
|
|
 |
00fe98b |
- Remove Travis CI configuration (vtrefny)
|
|
 |
00fe98b |
- Fix some warnings and typos in docstrings and comments (vtrefny)
|
|
 |
00fe98b |
- Fix warnings dicovered by the GCC analyzer (vtrefny)
|
|
 |
00fe98b |
- build: avoid bashisms in configure (sam)
|
|
 |
00fe98b |
- Update translation files (noreply)
|
|
 |
00fe98b |
- Translated using Weblate (Croatian) (linux.hr)
|
|
 |
00fe98b |
- Revert "Translations update from Weblate" (vtrefny)
|
|
 |
00fe98b |
- Update translation files (noreply)
|
|
 |
00fe98b |
- Added translation using Weblate (Croatian) (linux.hr)
|
|
 |
00fe98b |
- Do not use distutils to get Python library path (vtrefny)
|
|
 |
00fe98b |
|
|
 |
325d17c |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-3
|
|
 |
325d17c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
325d17c |
|
|
 |
3116cef |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-2
|
|
 |
3116cef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
3116cef |
|
|
 |
6ff21f0 |
* Wed Jul 07 2021 Vojtech Trefny <vtrefny@redhat.com> - 2.6-1
|
|
 |
6ff21f0 |
- Make sure Size can be interpreted as integer in Python 3.10 (vtrefny)
|
|
 |
6ff21f0 |
- Translated using Weblate (Finnish) (ricky.tigg)
|
|
 |
6ff21f0 |
- Squashed 'translation-canary/' changes from fccbb1b..4d4e65b (vtrefny)
|
|
 |
6ff21f0 |
- Translated using Weblate (Korean) (simmon)
|
|
 |
6ff21f0 |
- Added translation using Weblate (Korean) (simmon)
|
|
 |
6ff21f0 |
- Update translation files (noreply)
|
|
 |
6ff21f0 |
- Added translation using Weblate (Sinhala) (r45xveza)
|
|
 |
6ff21f0 |
- Sync spec with downstream (vtrefny)
|
|
 |
6ff21f0 |
|
|
 |
f2a37e3 |
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 2.5-2
|
|
 |
f2a37e3 |
- Rebuilt for Python 3.10
|
|
 |
f2a37e3 |
|
|
 |
c7c653f |
* Wed Jan 27 2021 Vojtech Trefny <vtrefny@redhat.com> - 2.5-1
|
|
 |
c7c653f |
- Translated using Weblate (Hebrew) (sh.yaron)
|
|
 |
c7c653f |
- Added translation using Weblate (Hebrew) (sh.yaron)
|
|
 |
c7c653f |
- Add support to ppc64le for debian build (74309971+gururajrkatti)
|
|
 |
c7c653f |
- Translated using Weblate (Finnish) (ricky.tigg)
|
|
 |
c7c653f |
- tools: Read input from stdin when not running in a tty (vtrefny)
|
|
 |
c7c653f |
- travis: Print logs after failed tests (vtrefny)
|
|
 |
c7c653f |
- tests: Run pylint and pycodestyle on bscalc (vtrefny)
|
|
 |
c7c653f |
- bscalc: Add option to print only single "human readable" result (vtrefny)
|
|
 |
c7c653f |
- travis: Add --nogpgcheck when using dnf on Fedora (vtrefny)
|
|
 |
c7c653f |
- Translated using Weblate (Asturian) (fitoschido)
|
|
 |
c7c653f |
- Update translation files (noreply)
|
|
 |
c7c653f |
- Translated using Weblate (Spanish) (fitoschido)
|
|
 |
c7c653f |
- Sync spec with downstream (vtrefny)
|
|
 |
c7c653f |
|
|
 |
fc51f9f |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-2
|
|
 |
fc51f9f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
fc51f9f |
|
|
 |
e279b18 |
* Fri Jul 31 2020 Vojtech Trefny <vtrefny@redhat.com> - 2.4-1
|
|
 |
e279b18 |
- Add Travis build status badge (vtrefny)
|
|
 |
e279b18 |
- Add Travis CI config and Dockerfiles for running tests (vtrefny)
|
|
 |
e279b18 |
- Add ansible playbook for installing test dependencies (vtrefny)
|
|
 |
e279b18 |
- remove msgcat dependency (Aduskett)
|
|
 |
e279b18 |
- Translated using Weblate (Bengali (India)) (akarshan.biswas)
|
|
 |
e279b18 |
- Update translation files (noreply)
|
|
 |
e279b18 |
- Added translation using Weblate (Bengali (India)) (akarshan.biswas)
|
|
 |
e279b18 |
- Fix library version in pkgconfig file (vtrefny)
|
|
 |
e279b18 |
|
|
 |
bb747af |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-4
|
|
 |
bb747af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
bb747af |
|
|
 |
064a89c |
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 2.3-3
|
|
 |
064a89c |
- Use make macros
|
|
 |
064a89c |
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
 |
064a89c |
|
|
 |
1f7bb2c |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 2.3-2
|
|
 |
1f7bb2c |
- Rebuilt for Python 3.9
|
|
 |
1f7bb2c |
|
|
 |
f2687e4 |
* Thu May 21 2020 Vojtech Trefny <vtrefny@redhat.com> - 2.3-1
|
|
 |
f2687e4 |
- Fix memory leak in bs_size_new_from_str (vtrefny)
|
|
 |
f2687e4 |
- Translated using Weblate (Turkish) (oguzersen)
|
|
 |
f2687e4 |
- add translation platform widget (jean-baptiste)
|
|
 |
f2687e4 |
- Update translation files (noreply)
|
|
 |
f2687e4 |
- Do not regenerate POT file during 'make release' (vtrefny)
|
|
 |
f2687e4 |
- Remove Zanata from our build and release processes (vtrefny)
|
|
 |
f2687e4 |
- Add PO files to git (vtrefny)
|
|
 |
f2687e4 |
- Sync spec with downstream (vtrefny)
|
|
 |
f2687e4 |
|
|
 |
f6448c2 |
* Thu Jan 30 2020 Vojtech Trefny <vtrefny@redhat.com> - 2.2-1
|
|
 |
f6448c2 |
- Require the same version of python3-bytesize in libbytesize-tools (v.podzimek)
|
|
 |
f6448c2 |
- src/gettext: fix warning if gettext is already present (giulio.benetti)
|
|
 |
f6448c2 |
- Update README.md (vpodzime)
|
|
 |
f6448c2 |
- fix build on shells where test == fails (tbier)
|
|
 |
f6448c2 |
- Add POT file to git and do not rebuild it during every build (vtrefny)
|
|
 |
f6448c2 |
|
|
 |
323b112 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-6
|
|
 |
323b112 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
323b112 |
|
|
 |
e8eec36 |
* Wed Oct 9 2019 Jerry James <loganjerry@gmail.com> - 2.1-5
|
|
 |
e8eec36 |
- Rebuild for mpfr 4
|
|
 |
e8eec36 |
|
|
 |
a72fe08 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1-4
|
|
 |
a72fe08 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
 |
a72fe08 |
|
|
 |
5d37d5f |
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1-3
|
|
 |
5d37d5f |
- Rebuilt for Python 3.8
|
|
 |
5d37d5f |
|
|
 |
cb10ad6 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-2
|
|
 |
cb10ad6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
cb10ad6 |
|
|
 |
1f4ff59 |
* Wed Jul 03 2019 Vojtech Trefny <vtrefny@redhat.com> - 2.1-1
|
|
 |
1f4ff59 |
- fix out of tree build failure (hongxu.jia)
|
|
 |
1f4ff59 |
- Fix return value for round_to_nearest when using Size (vtrefny)
|
|
 |
1f4ff59 |
|
|
 |
00c43ad |
* Thu Apr 25 2019 Vojtech Trefny <vtrefny@redhat.com> - 2.0-1
|
|
 |
00c43ad |
- Assume the given expression is in bytes if no unit is given (v.podzimek)
|
|
 |
00c43ad |
- Add a man page for the bscalc tool (v.podzimek)
|
|
 |
00c43ad |
- Add the '--version' option to bs_calc.py (v.podzimek)
|
|
 |
00c43ad |
- Fix parsing of exponential representations of real numbers (v.podzimek)
|
|
 |
00c43ad |
- Only support modulo between two Size instances (v.podzimek)
|
|
 |
00c43ad |
- Add a summary to the end of ./configure output (v.podzimek)
|
|
 |
00c43ad |
- Exit with 1 from configure if there were failures (v.podzimek)
|
|
 |
00c43ad |
- Add tools to autotools and packaging (v.podzimek)
|
|
 |
00c43ad |
- Add a simple bytesize calculator tool (v.podzimek)
|
|
 |
00c43ad |
- Add support for floor division by a non-integer number in Python (v.podzimek)
|
|
 |
00c43ad |
- Port to pcre2 (vtrefny)
|
|
 |
00c43ad |
- Remove Python 2 support (vtrefny)
|
|
 |
00c43ad |
- Allow running tests using installed library (vtrefny)
|
|
 |
00c43ad |
- Add all "public" python API symbols to __init__.py (vtrefny)
|
|
 |
00c43ad |
- Run all libbytesize tests from one script (vtrefny)
|
|
 |
00c43ad |
|
|
 |
349a8a5 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
|
|
 |
349a8a5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
349a8a5 |
|
|
 |
74cc42e |
* Thu Aug 02 2018 Vojtech Trefny <vtrefny@redhat.com> - 1.4-1
|
|
 |
74cc42e |
- Squashed 'translation-canary/' changes from 840c2d6..fccbb1b (vtrefny)
|
|
 |
74cc42e |
- Make sure the test script fails if one of the test runs fail (vtrefny)
|
|
 |
74cc42e |
- Do not try to run python2 tests without python2 support (vtrefny)
|
|
 |
74cc42e |
- Fix licence header for "gettext.h" (vtrefny)
|
|
 |
74cc42e |
- Do not use rpm to check for Zanata client (vtrefny)
|
|
 |
74cc42e |
- Use new ldconfig_scriptlets macro in spec (vtrefny)
|
|
 |
74cc42e |
|
|
 |
48650c0 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-5
|
|
 |
48650c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
 |
48650c0 |
|
|
 |
5614384 |
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1.3-4
|
|
 |
5614384 |
- Rebuilt for Python 3.7
|
|
 |
5614384 |
|
|
 |
70d979f |
* Fri Jun 29 2018 Vojtech Trefny <vtrefny@redhat.com> - 1.3-3
|
|
 |
70d979f |
- Use new ldconfig_scriptlets macro in spec
|
|
 |
70d979f |
|
|
 |
edfd570 |
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1.3-2
|
|
 |
edfd570 |
- Rebuilt for Python 3.7
|
|
 |
edfd570 |
|
|
 |
c7ba089 |
* Thu Apr 19 2018 Vojtech Trefny <vtrefny@redhat.com> - 1.3-1
|
|
 |
c7ba089 |
- Allow building libbytesize without Python 2 support (vtrefny)
|
|
 |
c7ba089 |
- Sync spec with downstream (vtrefny)
|
|
 |
c7ba089 |
- Add gcc to BuildRequires (vtrefny)
|
|
 |
c7ba089 |
- Fix links for documentation and GH project (vtrefny)
|
|
 |
c7ba089 |
- Add a HACKING.rst file (vpodzime)
|
|
 |
c7ba089 |
- Do not segfault when trying to bs_size_free NULL (vtrefny)
|
|
 |
c7ba089 |
|
|
 |
81b4f42 |
* Wed Feb 21 2018 Vojtech Trefny <vtrefny@redhat.com> - 1.2-4
|
|
 |
81b4f42 |
- Add gcc to BuildRequires (vtrefny)
|
|
 |
81b4f42 |
|
|
 |
8909b79 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-3
|
|
 |
8909b79 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
 |
8909b79 |
|
|
 |
05cfcce |
* Fri Jan 05 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2-2
|
|
 |
05cfcce |
- Update Python 2 dependency declarations to new packaging standards
|
|
 |
05cfcce |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
 |
05cfcce |
|
|
 |
4b49c3a |
* Fri Sep 29 2017 Vratislav Podzimek <vpodzime@redhat.com> - 1.2-1
|
|
 |
4b49c3a |
- Use only version as a tag of the last release (vpodzime)
|
|
 |
4b49c3a |
- Do not require the glib-2.0 pkgconfig package (vpodzime)
|
|
 |
4b49c3a |
- Do not lie about tag creation (vpodzime)
|
|
 |
4b49c3a |
|
|
 |
f540a16 |
* Thu Sep 28 2017 Troy Dawson <tdawson@redhat.com> - 1.1-2
|
|
 |
f540a16 |
- Cleanup spec file conditionals
|
|
 |
f540a16 |
|
|
 |
e934733 |
* Thu Sep 21 2017 Vratislav Podzimek <vpodzime@redhat.com> - 1.1-1
|
|
 |
e934733 |
- Add NEWS.rst file (vtrefny)
|
|
 |
e934733 |
- Fix source and url in spec file (vtrefny)
|
|
 |
e934733 |
- Use only one git tag for new releases (vtrefny)
|
|
 |
e934733 |
- Actually translate the units when expected (vpodzime)
|
|
 |
e934733 |
- Add two temporary test files to .gitignore (vpodzime)
|
|
 |
e934733 |
|
|
 |
2cbda07 |
* Thu Sep 14 2017 Vratislav Podzimek <vpodzime@redhat.com> - 1.0-1
|
|
 |
2cbda07 |
- Make more space for CI status image (vtrefny)
|
|
 |
2cbda07 |
- Include limits.h to make sure ULONG_MAX is defined (vpodzime)
|
|
 |
2cbda07 |
- Remove extra 'is' in two docstrings (vpodzime)
|
|
 |
2cbda07 |
- Properly support 64bit operands (vpodzime)
|
|
 |
2cbda07 |
|
|
 |
37888d7 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.11-4
|
|
 |
37888d7 |
- Python 2 binary package renamed to python2-libbytesize
|
|
 |
37888d7 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
 |
37888d7 |
|
|
 |
ae37231 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-3
|
|
 |
ae37231 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
 |
ae37231 |
|
|
 |
9e3715c |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-2
|
|
 |
9e3715c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
 |
9e3715c |
|
|
 |
2e0df42 |
* Wed Jun 14 2017 Vratislav Podzimek <vpodzime@redhat.com> - 0.11-1
|
|
 |
2e0df42 |
- Fix README file name (vtrefny)
|
|
 |
2e0df42 |
- Add a build status image to the README.md (vpodzime)
|
|
 |
2e0df42 |
- Remove "glibc-all-langpacks" from test dependencies (vtrefny)
|
|
 |
2e0df42 |
- Check for requires in generated spec file, not in the template (vtrefny)
|
|
 |
2e0df42 |
- Fix checking for available locales (vtrefny)
|
|
 |
2e0df42 |
- Fix library name in acinclude.m4 (vtrefny)
|
|
 |
2e0df42 |
- Do not try to run translation tests on CentOS/RHEL 7 (vtrefny)
|
|
 |
2e0df42 |
- Skip tests if they require unavailable locales (vpodzime)
|
|
 |
2e0df42 |
|
|
 |
073b1d6 |
* Wed Apr 19 2017 Vratislav Podzimek <vpodzime@redhat.com> - 0.10-1
|
|
 |
073b1d6 |
- Fix installation without specifying --exec-prefix (martin)
|
|
 |
073b1d6 |
- Sync the spec file with downstream (vpodzime)
|
|
 |
073b1d6 |
|
|
 |
845b461 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-2
|
|
 |
845b461 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
 |
845b461 |
|
|
 |
135edeb |
* Wed Jan 11 2017 Vratislav Podzimek <vpodzime@redhat.com> - 0.9-1
|
|
 |
135edeb |
- Allow the Size python class to be easily imported (vpodzime)
|
|
 |
135edeb |
- Make sure pyexecdir is defined (vpodzime)
|
|
 |
135edeb |
- Do not run Python 3 tests without python3 (vpodzime)
|
|
 |
135edeb |
- Disable python3 on RHEL (vpodzime)
|
|
 |
135edeb |
- Reflect the configuration in the spec file template (vpodzime)
|
|
 |
135edeb |
- Make documentation generation conditional (vpodzime)
|
|
 |
135edeb |
- Make python3 support conditional (vpodzime)
|
|
 |
135edeb |
- Require lower version of libpcre (vpodzime)
|
|
 |
135edeb |
- Sync the spec file with downstream (vpodzime)
|
|
 |
135edeb |
|
|
 |
37bf1e7 |
* Wed Dec 21 2016 Adam Williamson <awilliam@redhat.com> - 0.8-2
|
|
 |
37bf1e7 |
- Rebuild for Python 3.6, again
|
|
 |
37bf1e7 |
|
|
 |
0bac08b |
* Fri Dec 16 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.8-1
|
|
 |
0bac08b |
- Add a docstring to python bindings (vpodzime)
|
|
 |
0bac08b |
- Neutralize None as an operand for math operations (vpodzime)
|
|
 |
0bac08b |
- Add targets for checking and installing test requirements (vpodzime)
|
|
 |
0bac08b |
- Fix 'make local' (vtrefny)
|
|
 |
0bac08b |
- Make the python packages own their package directories (vpodzime)
|
|
 |
0bac08b |
- Don't compare translated and untranslated representations (vpodzime)
|
|
 |
0bac08b |
- replace_char_with_str: Fix the character count. (dshea)
|
|
 |
0bac08b |
- Ditch autopoint. (dshea)
|
|
 |
0bac08b |
|
|
 |
aee06e8 |
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.7-4
|
|
 |
aee06e8 |
- Rebuild for Python 3.6
|
|
 |
aee06e8 |
|
|
 |
ec49c58 |
* Tue Sep 20 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.7-3
|
|
 |
ec49c58 |
- Prevent ignored exceptions in __del__ from happening (vpodzime)
|
|
 |
ec49c58 |
|
|
 |
1f0d906 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
|
|
 |
1f0d906 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
 |
1f0d906 |
|
|
 |
4e05eef |
* Tue May 17 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.7-1
|
|
 |
4e05eef |
- Re-run autogen.sh and configure before updating the .pot file (vpodzime)
|
|
 |
4e05eef |
- Change where tests on translated strings are run. (dshea)
|
|
 |
4e05eef |
- Squashed 'translation-canary/' changes from d6c0708..840c2d6 (dshea)
|
|
 |
4e05eef |
- Make sure we get the tests result report in 'make ci' (vpodzime)
|
|
 |
4e05eef |
- Add a new generic error code/enum for failures (vpodzime)
|
|
 |
4e05eef |
- Do not ignore the return value from asprintf() (vpodzime)
|
|
 |
4e05eef |
- Beware of the radix char when converting to Decimal (#1325705) (vpodzime)
|
|
 |
4e05eef |
|
|
 |
cd064fc |
* Fri May 6 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.6-2
|
|
 |
cd064fc |
- Beware of unsigned long int on 32bit arches (#1333149) (vpodzime)
|
|
 |
cd064fc |
|
|
 |
804a401 |
* Tue May 03 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.6-1
|
|
 |
804a401 |
- Add support for the ROUND_HALF_UP rounding mode (vpodzime)
|
|
 |
804a401 |
- Make sure we return the right radix char in human_readable() (vpodzime)
|
|
 |
804a401 |
- Allocate enough memory for char->str replacements (vpodzime)
|
|
 |
804a401 |
|
|
 |
cf42661 |
* Tue Apr 26 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.5-1
|
|
 |
cf42661 |
- Create both libbytesize-$version and $version tags (vpodzime)
|
|
 |
cf42661 |
- Update the .pot file with the new version (vpodzime)
|
|
 |
cf42661 |
- Improve how we create changelog (vpodzime)
|
|
 |
cf42661 |
- Try harder when getting OverflowError in division (#1326897) (vpodzime)
|
|
 |
cf42661 |
- Neutralize the radix char before passing string to MPFR (#1326108) (vpodzime)
|
|
 |
cf42661 |
- Run tests with en_US and fr_FR locales (vpodzime)
|
|
 |
cf42661 |
- Run the tests with both python2 and python3 again (vpodzime)
|
|
 |
cf42661 |
- Do not run the same tests 3 times as part of the 'ci' target (vpodzime)
|
|
 |
cf42661 |
- Don't fail if just the best-effort cleanup fails (vpodzime)
|
|
 |
cf42661 |
- Throw away the new .pot file when just running tests (vpodzime)
|
|
 |
cf42661 |
- Make sure we return one of -1, 0, 1 from cmp functions (#1326113) (vpodzime)
|
|
 |
cf42661 |
- Use cmp_bytes(size, bytes) when comparing to 0 (vpodzime)
|
|
 |
cf42661 |
- Ignore all .po~ files (vpodzime)
|
|
 |
cf42661 |
- Add translator comments (dshea)
|
|
 |
cf42661 |
- Integrate translation-canary into the build. (dshea)
|
|
 |
cf42661 |
- Run the translation-canary tests from make check. (dshea)
|
|
 |
cf42661 |
- Squashed 'translation-canary/' content from commit d6c0708 (dshea)
|
|
 |
cf42661 |
- Make 'make check' work. (dshea)
|
|
 |
cf42661 |
- Remove files from po/ we don't need to track (vpodzime)
|
|
 |
cf42661 |
- Ignore the compiled translation files (vpodzime)
|
|
 |
cf42661 |
- Distribute and package the translations (vpodzime)
|
|
 |
cf42661 |
- Add the necessary pieces for getting translations (vpodzime)
|
|
 |
cf42661 |
|
|
 |
a8ed70f |
* Thu Apr 14 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.4-3
|
|
 |
a8ed70f |
- Only require -lgmp and -lmpfr for static linking (vpodzime)
|
|
 |
a8ed70f |
|
|
 |
359e3d5 |
* Fri Mar 11 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.4-2
|
|
 |
359e3d5 |
- Do not try to delete the C struct twice (vpodzime)
|
|
 |
359e3d5 |
|
|
 |
2369685 |
* Wed Mar 09 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.4-1
|
|
 |
2369685 |
- Add the __init__.py file to provide a proper package (vpodzime)
|
|
 |
2369685 |
- Merge pull request #7 from vpodzime/master-decimal_locale (vpodzime)
|
|
 |
2369685 |
- Make sure we pass a locale-agnostic string to Decimal() (vpodzime)
|
|
 |
2369685 |
- Adapt the package description to no longer using GI (vpodzime)
|
|
 |
2369685 |
- Make Size instances hashable (vpodzime)
|
|
 |
2369685 |
- Sync the spec file with downstream (vpodzime)
|
|
 |
2369685 |
|
|
 |
7deccfd |
* Wed Mar 9 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.3-3
|
|
 |
7deccfd |
- Make sure we pass a locale-agnostic string to Decimal() (vpodzime)
|
|
 |
7deccfd |
|
|
 |
acef3dd |
* Mon Mar 7 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.3-2
|
|
 |
acef3dd |
- Make Size instances hashable (vpodzime)
|
|
 |
acef3dd |
|
|
 |
dd8a76a |
* Fri Feb 26 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.3-1
|
|
 |
dd8a76a |
- Packaging changes related to getting rid of GLib/GObject (vpodzime)
|
|
 |
dd8a76a |
- Adapt the python bindings and tests (vpodzime)
|
|
 |
dd8a76a |
- Get rid of GObject and GLib (vpodzime)
|
|
 |
dd8a76a |
- Define the __divmod__ method even for not dividing by Size (vpodzime)
|
|
 |
dd8a76a |
|
|
 |
f7b4ac4 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-3
|
|
 |
f7b4ac4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
 |
f7b4ac4 |
|
|
 |
ceaa39c |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-2
|
|
 |
ceaa39c |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
 |
ceaa39c |
|
|
 |
88b080d |
* Fri Oct 23 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.2-1
|
|
 |
88b080d |
- Distribute the tests for overrides (vpodzime)
|
|
 |
88b080d |
- Fix the rpmlog target (vpodzime)
|
|
 |
88b080d |
- Respect the signs when doing division (vpodzime)
|
|
 |
88b080d |
- Add two more internal methods that may be required (vpodzime)
|
|
 |
88b080d |
- Do not pass negative numbers as guint64 when comparing with negative ints (vpodzime)
|
|
 |
88b080d |
- Round toward zero when converting bytes from float to int (vpodzime)
|
|
 |
88b080d |
- Make sure we return Size if doing operations with big integers (vpodzime)
|
|
 |
88b080d |
- Implement the __divmod__() method (vpodzime)
|
|
 |
88b080d |
- Do not try to convert negative int to an unsigned int when multiplying (vpodzime)
|
|
 |
88b080d |
- Fix and test the __deepcopy__ method (vpodzime)
|
|
 |
88b080d |
- Implement the evaluation of Size instance as a bool value (vpodzime)
|
|
 |
88b080d |
- Fix some issues in comparison functions and add tests (vpodzime)
|
|
 |
88b080d |
- Add a function for getting string representation of a unit (vpodzime)
|
|
 |
88b080d |
- Hook the overrides tests to the 'test' target (vpodzime)
|
|
 |
88b080d |
- Merge pull request #4 from japokorn/master-tests_03_python_override (vpodzime)
|
|
 |
88b080d |
- Added tests for Python override (japokorn)
|
|
 |
88b080d |
- Make sure our tests don't get broken by installed overrides (vpodzime)
|
|
 |
88b080d |
|
|
 |
79be28c |
* Wed Oct 07 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.1-1
|
|
 |
79be28c |
- Initial release
|