Accepting request 573123 from home:jengelh:branches:devel:libraries:c_c++

- Clear up unusual grammar in description.
- Replace %__-type macro indirections by their normal variants.

OBS-URL: https://build.opensuse.org/request/show/573123
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbytesize?expand=0&rev=2
This commit is contained in:
Luciano Santos 2018-02-05 22:09:32 +00:00 committed by Git OBS Bridge
parent 5e79337807
commit 865f02870e
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 5 19:11:19 UTC 2018 - jengelh@inai.de
- Clear up unusual grammar in description.
- Replace %__-type macro indirections by their normal variants.
-------------------------------------------------------------------
Tue Nov 28 23:59:07 UTC 2017 - luc14n0@linuxmail.org

View File

@ -38,8 +38,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The LibBytesize is a C library that facilitates work with sizes in
bytes. Be it parsing the input from users or producing a nice human readable
representation of a size in bytes this library takes localization into
bytes, be it parsing the input from users or producing a human-readable
representation of a size in bytes. This library takes localization into
account. It also provides support for sizes bigger than MAXUINT64.
%package -n %{libname}
@ -48,8 +48,8 @@ Summary: A library for working with sizes in bytes
%description -n %{libname}
The LibBytesize is a C library that facilitates work with sizes in
bytes. Be it parsing the input from users or producing a nice human readable
representation of a size in bytes this library takes localization into
bytes, be it parsing the input from users or producing a human-readable
representation of a size in bytes. This library takes localization into
account. It also provides support for sizes bigger than MAXUINT64.
%package devel
@ -102,7 +102,7 @@ find %{buildroot} -name '*.la' -type f -delete -print
# 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
rm -rf %{buildroot}/bytesize
%endif
%post -n %{libname} -p /sbin/ldconfig