diff --git a/libbytesize-1.2.tar.gz b/libbytesize-1.2.tar.gz deleted file mode 100644 index aa3924b..0000000 --- a/libbytesize-1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:65656ed62080d73d0f21d9647cee20533377bee150e91807fd54c502f3e1108f -size 432097 diff --git a/libbytesize-1.3.tar.gz b/libbytesize-1.3.tar.gz new file mode 100644 index 0000000..01cabd5 --- /dev/null +++ b/libbytesize-1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1991726a67ee44e4c9b3deaba5bbacd5392d3364439efce08060abc45edf5d0 +size 409873 diff --git a/libbytesize.changes b/libbytesize.changes index f5aa0e3..63448c7 100644 --- a/libbytesize.changes +++ b/libbytesize.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri May 4 01:06:42 UTC 2018 - luc14n0@linuxmail.org + +- Update to version 1.3: + + Do not segfault when trying to bs_size_free NULL. +- Cleanup specfile removing deprecations. +- Update LGPL License tag appending '-only' to comply with SPDX + 3.0. +- Add gcc BuildRequires to avoid implicit dependencies. + ------------------------------------------------------------------- Tue Feb 6 15:06:08 UTC 2018 - luc14n0@linuxmail.org diff --git a/libbytesize.spec b/libbytesize.spec index 3f681d1..fbc8535 100644 --- a/libbytesize.spec +++ b/libbytesize.spec @@ -21,13 +21,14 @@ %define libname %{name}%{somajor} Name: libbytesize -Version: 1.2 +Version: 1.3 Release: 0 Summary: A library for working with sizes in bytes -License: LGPL-2.1 +License: LGPL-2.1-only Group: Development/Libraries/C and C++ -Url: https://github.com/storaged-project/libbytesize -Source: https://github.com/storaged-project/libbytesize/releases/download/1.2/%{name}-%{version}.tar.gz +URL: https://github.com/storaged-project/libbytesize +Source: https://github.com/storaged-project/libbytesize/releases/download/%{version}/%{name}-%{version}.tar.gz +BuildRequires: gcc BuildRequires: gmp-devel BuildRequires: gtk-doc BuildRequires: mpfr-devel @@ -35,7 +36,6 @@ BuildRequires: python3-devel %{?with_python2:BuildRequires: python2-devel} BuildRequires: pkgconfig(libpcre) >= 8.32 Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The LibBytesize is a C library that facilitates work with sizes in @@ -101,23 +101,15 @@ the library from Python 3 easier and more convenient. find %{buildroot} -name '*.la' -type f -delete -print %find_lang %{name} %{?no_lang_C} -# If python2 bindings are switched off this directory appears. -# A feature request has been upstreamed for python 2 switch (gh#storaged-project/libbytesize#45). -%if !%{with python2} -rm -rf %{buildroot}/bytesize -%endif - %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} -%defattr(-,root,root) %doc README.md LICENSE %{_libdir}/%{name}.so.* %files devel -%defattr(-,root,root) %doc %{_datadir}/gtk-doc/html/%{name} %{_libdir}/%{name}.so %dir %{_includedir}/bytesize @@ -126,13 +118,11 @@ rm -rf %{buildroot}/bytesize %if %{with python2} %files -n python2-%{name} -%defattr(-,root,root) %dir %{python2_sitearch}/bytesize %{python2_sitearch}/bytesize/* %endif %files -n python3-%{name} -%defattr(-,root,root) %dir %{python3_sitearch}/bytesize %{python3_sitearch}/bytesize/*