Accepting request 603860 from home:luc14n0:Factory
Update to version 1.3. OBS-URL: https://build.opensuse.org/request/show/603860 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbytesize?expand=0&rev=5
This commit is contained in:
parent
cd06dfd893
commit
3c2deeee8d
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:65656ed62080d73d0f21d9647cee20533377bee150e91807fd54c502f3e1108f
|
|
||||||
size 432097
|
|
3
libbytesize-1.3.tar.gz
Normal file
3
libbytesize-1.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d1991726a67ee44e4c9b3deaba5bbacd5392d3364439efce08060abc45edf5d0
|
||||||
|
size 409873
|
@ -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
|
Tue Feb 6 15:06:08 UTC 2018 - luc14n0@linuxmail.org
|
||||||
|
|
||||||
|
@ -21,13 +21,14 @@
|
|||||||
%define libname %{name}%{somajor}
|
%define libname %{name}%{somajor}
|
||||||
|
|
||||||
Name: libbytesize
|
Name: libbytesize
|
||||||
Version: 1.2
|
Version: 1.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A library for working with sizes in bytes
|
Summary: A library for working with sizes in bytes
|
||||||
License: LGPL-2.1
|
License: LGPL-2.1-only
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: https://github.com/storaged-project/libbytesize
|
URL: https://github.com/storaged-project/libbytesize
|
||||||
Source: https://github.com/storaged-project/libbytesize/releases/download/1.2/%{name}-%{version}.tar.gz
|
Source: https://github.com/storaged-project/libbytesize/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: gcc
|
||||||
BuildRequires: gmp-devel
|
BuildRequires: gmp-devel
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
BuildRequires: mpfr-devel
|
BuildRequires: mpfr-devel
|
||||||
@ -35,7 +36,6 @@ BuildRequires: python3-devel
|
|||||||
%{?with_python2:BuildRequires: python2-devel}
|
%{?with_python2:BuildRequires: python2-devel}
|
||||||
BuildRequires: pkgconfig(libpcre) >= 8.32
|
BuildRequires: pkgconfig(libpcre) >= 8.32
|
||||||
Recommends: %{name}-lang
|
Recommends: %{name}-lang
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The LibBytesize is a C library that facilitates work with sizes in
|
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 %{buildroot} -name '*.la' -type f -delete -print
|
||||||
%find_lang %{name} %{?no_lang_C}
|
%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
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc README.md LICENSE
|
%doc README.md LICENSE
|
||||||
%{_libdir}/%{name}.so.*
|
%{_libdir}/%{name}.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc %{_datadir}/gtk-doc/html/%{name}
|
%doc %{_datadir}/gtk-doc/html/%{name}
|
||||||
%{_libdir}/%{name}.so
|
%{_libdir}/%{name}.so
|
||||||
%dir %{_includedir}/bytesize
|
%dir %{_includedir}/bytesize
|
||||||
@ -126,13 +118,11 @@ rm -rf %{buildroot}/bytesize
|
|||||||
|
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
%files -n python2-%{name}
|
%files -n python2-%{name}
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{python2_sitearch}/bytesize
|
%dir %{python2_sitearch}/bytesize
|
||||||
%{python2_sitearch}/bytesize/*
|
%{python2_sitearch}/bytesize/*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{python3_sitearch}/bytesize
|
%dir %{python3_sitearch}/bytesize
|
||||||
%{python3_sitearch}/bytesize/*
|
%{python3_sitearch}/bytesize/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user