82d23e
%define realname bytesize
82d23e
%define with_python3 1
82d23e
%define with_gtk_doc 1
82d23e
%define with_tools 1
82d23e
82d23e
%if (! 0%{?fedora} && 0%{?rhel} <= 7) || %{with_python3} == 0
82d23e
%define with_python3 0
82d23e
%define python3_opts --without-python3
82d23e
%define with_tools 0
82d23e
%endif
82d23e
82d23e
%if %{with_tools} != 1
82d23e
%define tools_opts --without-tools
82d23e
%endif
82d23e
82d23e
%define configure_opts %{?python3_opts} %{?tools_opts}
82d23e
82d23e
Name:        libbytesize
82d23e
Version:     2.5
82d23e
Release:     3%{?dist}
82d23e
Summary:     A library for working with sizes in bytes
82d23e
License:     LGPLv2+
82d23e
URL:         https://github.com/storaged-project/libbytesize
82d23e
Source0:     https://github.com/storaged-project/libbytesize/releases/download/%{version}-%{release}/%{name}-%{version}.tar.gz
82d23e
82d23e
BuildRequires: make
82d23e
BuildRequires: gcc
82d23e
BuildRequires: gmp-devel
82d23e
BuildRequires: mpfr-devel
82d23e
BuildRequires: pcre2-devel
82d23e
BuildRequires: gettext-devel
82d23e
%if %{with_python3}
82d23e
BuildRequires: python3-devel
82d23e
%endif
82d23e
%if %{with_gtk_doc}
82d23e
BuildRequires: gtk-doc
82d23e
%endif
82d23e
82d23e
%description
82d23e
The libbytesize is a C library that facilitates work with sizes in
82d23e
bytes. Be it parsing the input from users or producing a nice human readable
82d23e
representation of a size in bytes this library takes localization into
82d23e
account. It also provides support for sizes bigger than MAXUINT64.
82d23e
82d23e
%package devel
82d23e
Summary:  Development files for libbytesize
82d23e
Requires: %{name}%{?_isa} = %{version}-%{release}
82d23e
82d23e
%description devel
82d23e
This package contains header files and pkg-config files needed for development
82d23e
with the libbytesize library.
82d23e
82d23e
%if %{with_python3}
82d23e
%package -n python3-%{realname}
82d23e
Summary: Python 3 bindings for libbytesize
82d23e
Requires: %{name}%{?_isa} = %{version}-%{release}
82d23e
Requires: python3-six
82d23e
82d23e
%description -n python3-%{realname}
82d23e
This package contains Python 3 bindings for libbytesize making the use of
82d23e
the library from Python 3 easier and more convenient.
82d23e
%endif
82d23e
82d23e
%if %{with_tools}
82d23e
%package tools
82d23e
Summary: Various nice tools based on libbytesize
82d23e
Requires: python3-%{realname} = %{version}-%{release}
82d23e
82d23e
%description tools
82d23e
Various nice tools based on libbytesize, in particular the calculator
82d23e
for doing calculations with storage sizes.
82d23e
%endif
82d23e
82d23e
%prep
82d23e
%setup -q -n %{name}-%{version}
82d23e
82d23e
%build
82d23e
%configure %{?configure_opts}
82d23e
%make_build
82d23e
82d23e
%install
82d23e
%{make_install}
82d23e
find %{buildroot} -type f -name "*.la" | xargs %{__rm}
82d23e
%find_lang %{name}
82d23e
82d23e
82d23e
%ldconfig_scriptlets
82d23e
82d23e
82d23e
%files -f %{name}.lang
82d23e
%doc README.md
82d23e
%{!?_licensedir:%global license %%doc}
82d23e
%license LICENSE
82d23e
%{_libdir}/libbytesize.so.*
82d23e
82d23e
%files devel
82d23e
%{_libdir}/libbytesize.so
82d23e
%dir %{_includedir}/bytesize
82d23e
%{_includedir}/bytesize/bs_size.h
82d23e
%{_libdir}/pkgconfig/bytesize.pc
82d23e
%if %{with_gtk_doc}
82d23e
%{_datadir}/gtk-doc/html/libbytesize
82d23e
%endif
82d23e
82d23e
%if %{with_python3}
82d23e
%files -n python3-%{realname}
82d23e
%dir %{python3_sitearch}/bytesize
82d23e
%{python3_sitearch}/bytesize/*
82d23e
%endif
82d23e
82d23e
%if %{with_tools}
82d23e
%files tools
82d23e
%{_bindir}/bscalc
82d23e
%{_mandir}/man1/bscalc.1*
82d23e
%endif
82d23e
82d23e
%changelog
82d23e
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.5-3
82d23e
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
82d23e
  Related: rhbz#1991688
82d23e
82d23e
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.5-2
82d23e
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
82d23e
82d23e
* Wed Jan 27 2021 Vojtech Trefny <vtrefny@redhat.com> - 2.5-1
82d23e
- Translated using Weblate (Hebrew) (sh.yaron)
82d23e
- Added translation using Weblate (Hebrew) (sh.yaron)
82d23e
- Add support to ppc64le for debian build (74309971+gururajrkatti)
82d23e
- Translated using Weblate (Finnish) (ricky.tigg)
82d23e
- tools: Read input from stdin when not running in a tty (vtrefny)
82d23e
- travis: Print logs after failed tests (vtrefny)
82d23e
- tests: Run pylint and pycodestyle on bscalc (vtrefny)
82d23e
- bscalc: Add option to print only single "human readable" result (vtrefny)
82d23e
- travis: Add --nogpgcheck when using dnf on Fedora (vtrefny)
82d23e
- Translated using Weblate (Asturian) (fitoschido)
82d23e
- Update translation files (noreply)
82d23e
- Translated using Weblate (Spanish) (fitoschido)
82d23e
- Sync spec with downstream (vtrefny)
82d23e
82d23e
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-2
82d23e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
82d23e
82d23e
* Fri Jul 31 2020 Vojtech Trefny <vtrefny@redhat.com> - 2.4-1
82d23e
- Add Travis build status badge (vtrefny)
82d23e
- Add Travis CI config and Dockerfiles for running tests (vtrefny)
82d23e
- Add ansible playbook for installing test dependencies (vtrefny)
82d23e
- remove msgcat dependency (Aduskett)
82d23e
- Translated using Weblate (Bengali (India)) (akarshan.biswas)
82d23e
- Update translation files (noreply)
82d23e
- Added translation using Weblate (Bengali (India)) (akarshan.biswas)
82d23e
- Fix library version in pkgconfig file (vtrefny)
82d23e
82d23e
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-4
82d23e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
82d23e
82d23e
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 2.3-3
82d23e
- Use make macros
82d23e
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
82d23e
82d23e
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 2.3-2
82d23e
- Rebuilt for Python 3.9
82d23e
82d23e
* Thu May 21 2020 Vojtech Trefny <vtrefny@redhat.com> - 2.3-1
82d23e
- Fix memory leak in bs_size_new_from_str (vtrefny)
82d23e
- Translated using Weblate (Turkish) (oguzersen)
82d23e
- add translation platform widget (jean-baptiste)
82d23e
- Update translation files (noreply)
82d23e
- Do not regenerate POT file during 'make release' (vtrefny)
82d23e
- Remove Zanata from our build and release processes (vtrefny)
82d23e
- Add PO files to git (vtrefny)
82d23e
- Sync spec with downstream (vtrefny)
82d23e
82d23e
* Thu Jan 30 2020 Vojtech Trefny <vtrefny@redhat.com> - 2.2-1
82d23e
- Require the same version of python3-bytesize in libbytesize-tools (v.podzimek)
82d23e
- src/gettext: fix warning if gettext is already present (giulio.benetti)
82d23e
- Update README.md (vpodzime)
82d23e
- fix build on shells where test == fails (tbier)
82d23e
- Add POT file to git and do not rebuild it during every build (vtrefny)
82d23e
82d23e
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-6
82d23e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
82d23e
82d23e
* Wed Oct  9 2019 Jerry James <loganjerry@gmail.com> - 2.1-5
82d23e
- Rebuild for mpfr 4
82d23e
82d23e
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1-4
82d23e
- Rebuilt for Python 3.8.0rc1 (#1748018)
82d23e
82d23e
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1-3
82d23e
- Rebuilt for Python 3.8
82d23e
82d23e
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-2
82d23e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
82d23e
82d23e
* Wed Jul 03 2019 Vojtech Trefny <vtrefny@redhat.com> - 2.1-1
82d23e
- fix out of tree build failure (hongxu.jia)
82d23e
- Fix return value for round_to_nearest when using Size (vtrefny)
82d23e
82d23e
* Thu Apr 25 2019 Vojtech Trefny <vtrefny@redhat.com> - 2.0-1
82d23e
- Assume the given expression is in bytes if no unit is given (v.podzimek)
82d23e
- Add a man page for the bscalc tool (v.podzimek)
82d23e
- Add the '--version' option to bs_calc.py (v.podzimek)
82d23e
- Fix parsing of exponential representations of real numbers (v.podzimek)
82d23e
- Only support modulo between two Size instances (v.podzimek)
82d23e
- Add a summary to the end of ./configure output (v.podzimek)
82d23e
- Exit with 1 from configure if there were failures (v.podzimek)
82d23e
- Add tools to autotools and packaging (v.podzimek)
82d23e
- Add a simple bytesize calculator tool (v.podzimek)
82d23e
- Add support for floor division by a non-integer number in Python (v.podzimek)
82d23e
- Port to pcre2 (vtrefny)
82d23e
- Remove Python 2 support (vtrefny)
82d23e
- Allow running tests using installed library (vtrefny)
82d23e
- Add all "public" python API  symbols to __init__.py (vtrefny)
82d23e
- Run all libbytesize tests from one script (vtrefny)
82d23e
82d23e
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
82d23e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
82d23e
82d23e
* Thu Aug 02 2018 Vojtech Trefny <vtrefny@redhat.com> - 1.4-1
82d23e
- Squashed 'translation-canary/' changes from 840c2d6..fccbb1b (vtrefny)
82d23e
- Make sure the test script fails if one of the test runs fail (vtrefny)
82d23e
- Do not try to run python2 tests without python2 support (vtrefny)
82d23e
- Fix licence header for "gettext.h" (vtrefny)
82d23e
- Do not use rpm to check for Zanata client (vtrefny)
82d23e
- Use new ldconfig_scriptlets macro in spec (vtrefny)
82d23e
82d23e
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-5
82d23e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
82d23e
82d23e
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1.3-4
82d23e
- Rebuilt for Python 3.7
82d23e
82d23e
* Fri Jun 29 2018 Vojtech Trefny <vtrefny@redhat.com> - 1.3-3
82d23e
- Use new ldconfig_scriptlets macro in spec
82d23e
82d23e
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1.3-2
82d23e
- Rebuilt for Python 3.7
82d23e
82d23e
* Thu Apr 19 2018 Vojtech Trefny <vtrefny@redhat.com> - 1.3-1
82d23e
- Allow building libbytesize without Python 2 support (vtrefny)
82d23e
- Sync spec with downstream (vtrefny)
82d23e
- Add gcc to BuildRequires (vtrefny)
82d23e
- Fix links for documentation and GH project (vtrefny)
82d23e
- Add a HACKING.rst file (vpodzime)
82d23e
- Do not segfault when trying to bs_size_free NULL (vtrefny)
82d23e
82d23e
* Wed Feb 21 2018 Vojtech Trefny <vtrefny@redhat.com> - 1.2-4
82d23e
- Add gcc to BuildRequires (vtrefny)
82d23e
82d23e
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-3
82d23e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
82d23e
82d23e
* Fri Jan 05 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2-2
82d23e
- Update Python 2 dependency declarations to new packaging standards
82d23e
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
82d23e
82d23e
* Fri Sep 29 2017 Vratislav Podzimek <vpodzime@redhat.com> - 1.2-1
82d23e
- Use only version as a tag of the last release (vpodzime)
82d23e
- Do not require the glib-2.0 pkgconfig package (vpodzime)
82d23e
- Do not lie about tag creation (vpodzime)
82d23e
82d23e
* Thu Sep 28 2017 Troy Dawson <tdawson@redhat.com> - 1.1-2
82d23e
- Cleanup spec file conditionals
82d23e
82d23e
* Thu Sep 21 2017 Vratislav Podzimek <vpodzime@redhat.com> - 1.1-1
82d23e
- Add NEWS.rst file (vtrefny)
82d23e
- Fix source and url in spec file (vtrefny)
82d23e
- Use only one git tag for new releases (vtrefny)
82d23e
- Actually translate the units when expected (vpodzime)
82d23e
- Add two temporary test files to .gitignore (vpodzime)
82d23e
82d23e
* Thu Sep 14 2017 Vratislav Podzimek <vpodzime@redhat.com> - 1.0-1
82d23e
- Make more space for CI status image (vtrefny)
82d23e
- Include limits.h to make sure ULONG_MAX is defined (vpodzime)
82d23e
- Remove extra 'is' in two docstrings (vpodzime)
82d23e
- Properly support 64bit operands (vpodzime)
82d23e
82d23e
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.11-4
82d23e
- Python 2 binary package renamed to python2-libbytesize
82d23e
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
82d23e
82d23e
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-3
82d23e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
82d23e
82d23e
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-2
82d23e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
82d23e
82d23e
* Wed Jun 14 2017 Vratislav Podzimek <vpodzime@redhat.com> - 0.11-1
82d23e
- Fix README file name (vtrefny)
82d23e
- Add a build status image to the README.md (vpodzime)
82d23e
- Remove "glibc-all-langpacks" from test dependencies (vtrefny)
82d23e
- Check for requires in generated spec file, not in the template (vtrefny)
82d23e
- Fix checking for available locales (vtrefny)
82d23e
- Fix library name in acinclude.m4 (vtrefny)
82d23e
- Do not try to run translation tests on CentOS/RHEL 7 (vtrefny)
82d23e
- Skip tests if they require unavailable locales (vpodzime)
82d23e
82d23e
* Wed Apr 19 2017 Vratislav Podzimek <vpodzime@redhat.com> - 0.10-1
82d23e
- Fix installation without specifying --exec-prefix (martin)
82d23e
- Sync the spec file with downstream (vpodzime)
82d23e
82d23e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-2
82d23e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
82d23e
82d23e
* Wed Jan 11 2017 Vratislav Podzimek <vpodzime@redhat.com> - 0.9-1
82d23e
- Allow the Size python class to be easily imported (vpodzime)
82d23e
- Make sure pyexecdir is defined (vpodzime)
82d23e
- Do not run Python 3 tests without python3 (vpodzime)
82d23e
- Disable python3 on RHEL (vpodzime)
82d23e
- Reflect the configuration in the spec file template (vpodzime)
82d23e
- Make documentation generation conditional (vpodzime)
82d23e
- Make python3 support conditional (vpodzime)
82d23e
- Require lower version of libpcre (vpodzime)
82d23e
- Sync the spec file with downstream (vpodzime)
82d23e
82d23e
* Wed Dec 21 2016 Adam Williamson <awilliam@redhat.com> - 0.8-2
82d23e
- Rebuild for Python 3.6, again
82d23e
82d23e
* Fri Dec 16 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.8-1
82d23e
- Add a docstring to python bindings (vpodzime)
82d23e
- Neutralize None as an operand for math operations (vpodzime)
82d23e
- Add targets for checking and installing test requirements (vpodzime)
82d23e
- Fix 'make local' (vtrefny)
82d23e
- Make the python packages own their package directories (vpodzime)
82d23e
- Don't compare translated and untranslated representations (vpodzime)
82d23e
- replace_char_with_str: Fix the character count. (dshea)
82d23e
- Ditch autopoint. (dshea)
82d23e
82d23e
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.7-4
82d23e
- Rebuild for Python 3.6
82d23e
82d23e
* Tue Sep 20 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.7-3
82d23e
- Prevent ignored exceptions in __del__ from happening (vpodzime)
82d23e
82d23e
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
82d23e
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
82d23e
82d23e
* Tue May 17 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.7-1
82d23e
- Re-run autogen.sh and configure before updating the .pot file (vpodzime)
82d23e
- Change where tests on translated strings are run. (dshea)
82d23e
- Squashed 'translation-canary/' changes from d6c0708..840c2d6 (dshea)
82d23e
- Make sure we get the tests result report in 'make ci' (vpodzime)
82d23e
- Add a new generic error code/enum for failures (vpodzime)
82d23e
- Do not ignore the return value from asprintf() (vpodzime)
82d23e
- Beware of the radix char when converting to Decimal (#1325705) (vpodzime)
82d23e
82d23e
* Fri May  6 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.6-2
82d23e
- Beware of unsigned long int on 32bit arches (#1333149) (vpodzime)
82d23e
82d23e
* Tue May 03 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.6-1
82d23e
- Add support for the ROUND_HALF_UP rounding mode (vpodzime)
82d23e
- Make sure we return the right radix char in human_readable() (vpodzime)
82d23e
- Allocate enough memory for char->str replacements (vpodzime)
82d23e
82d23e
* Tue Apr 26 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.5-1
82d23e
- Create both libbytesize-$version and $version tags (vpodzime)
82d23e
- Update the .pot file with the new version (vpodzime)
82d23e
- Improve how we create changelog (vpodzime)
82d23e
- Try harder when getting OverflowError in division (#1326897) (vpodzime)
82d23e
- Neutralize the radix char before passing string to MPFR (#1326108) (vpodzime)
82d23e
- Run tests with en_US and fr_FR locales (vpodzime)
82d23e
- Run the tests with both python2 and python3 again (vpodzime)
82d23e
- Do not run the same tests 3 times as part of the 'ci' target (vpodzime)
82d23e
- Don't fail if just the best-effort cleanup fails (vpodzime)
82d23e
- Throw away the new .pot file when just running tests (vpodzime)
82d23e
- Make sure we return one of -1, 0, 1 from cmp functions (#1326113) (vpodzime)
82d23e
- Use cmp_bytes(size, bytes) when comparing to 0 (vpodzime)
82d23e
- Ignore all .po~ files (vpodzime)
82d23e
- Add translator comments (dshea)
82d23e
- Integrate translation-canary into the build. (dshea)
82d23e
- Run the translation-canary tests from make check. (dshea)
82d23e
- Squashed 'translation-canary/' content from commit d6c0708 (dshea)
82d23e
- Make 'make check' work. (dshea)
82d23e
- Remove files from po/ we don't need to track (vpodzime)
82d23e
- Ignore the compiled translation files (vpodzime)
82d23e
- Distribute and package the translations (vpodzime)
82d23e
- Add the necessary pieces for getting translations (vpodzime)
82d23e
82d23e
* Thu Apr 14 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.4-3
82d23e
- Only require -lgmp and -lmpfr for static linking (vpodzime)
82d23e
82d23e
* Fri Mar 11 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.4-2
82d23e
- Do not try to delete the C struct twice (vpodzime)
82d23e
82d23e
* Wed Mar 09 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.4-1
82d23e
- Add the __init__.py file to provide a proper package (vpodzime)
82d23e
- Merge pull request #7 from vpodzime/master-decimal_locale (vpodzime)
82d23e
- Make sure we pass a locale-agnostic string to Decimal() (vpodzime)
82d23e
- Adapt the package description to no longer using GI (vpodzime)
82d23e
- Make Size instances hashable (vpodzime)
82d23e
- Sync the spec file with downstream (vpodzime)
82d23e
82d23e
* Wed Mar  9 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.3-3
82d23e
- Make sure we pass a locale-agnostic string to Decimal() (vpodzime)
82d23e
82d23e
* Mon Mar  7 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.3-2
82d23e
- Make Size instances hashable (vpodzime)
82d23e
82d23e
* Fri Feb 26 2016 Vratislav Podzimek <vpodzime@redhat.com> - 0.3-1
82d23e
- Packaging changes related to getting rid of GLib/GObject (vpodzime)
82d23e
- Adapt the python bindings and tests (vpodzime)
82d23e
- Get rid of GObject and GLib (vpodzime)
82d23e
- Define the __divmod__ method even for not dividing by Size (vpodzime)
82d23e
82d23e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-3
82d23e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
82d23e
82d23e
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-2
82d23e
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
82d23e
82d23e
* Fri Oct 23 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.2-1
82d23e
- Distribute the tests for overrides (vpodzime)
82d23e
- Fix the rpmlog target (vpodzime)
82d23e
- Respect the signs when doing division (vpodzime)
82d23e
- Add two more internal methods that may be required (vpodzime)
82d23e
- Do not pass negative numbers as guint64 when comparing with negative ints (vpodzime)
82d23e
- Round toward zero when converting bytes from float to int (vpodzime)
82d23e
- Make sure we return Size if doing operations with big integers (vpodzime)
82d23e
- Implement the __divmod__() method (vpodzime)
82d23e
- Do not try to convert negative int to an unsigned int when multiplying (vpodzime)
82d23e
- Fix and test the __deepcopy__ method (vpodzime)
82d23e
- Implement the evaluation of Size instance as a bool value (vpodzime)
82d23e
- Fix some issues in comparison functions and add tests (vpodzime)
82d23e
- Add a function for getting string representation of a unit (vpodzime)
82d23e
- Hook the overrides tests to the 'test' target (vpodzime)
82d23e
- Merge pull request #4 from japokorn/master-tests_03_python_override (vpodzime)
82d23e
- Added tests for Python override (japokorn)
82d23e
- Make sure our tests don't get broken by installed overrides (vpodzime)
82d23e
82d23e
* Wed Oct 07 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.1-1
82d23e
- Initial release