Accepting request 1085258 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/1085258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libbytesize?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2023-05-08 15:23:44 +00:00 committed by Git OBS Bridge
commit eb46cd0457
4 changed files with 33 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8bae8287af6ef5624c320f70defdcd84ddc0c2057d3b59a5871897f27697811e
size 445367

BIN
libbytesize-2.8.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Sat May 6 21:46:55 UTC 2023 - Luciano Santos <luc14n0@opensuse.org>
- Drop lang sub-package recommendation. It's not needed anymore now
that lang packages provide package supplementation instead.
- Make bscalc sub-package 'noarch', since it doesn't contain any
binaries, only a Python script and its manpage.
-------------------------------------------------------------------
Thu May 4 23:44:06 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.8:
* Added translation using Weblate
* configure.ac: Remove invalid email address for bug reports
* spec: Bump release to 21 for Packit daily builds
* spec: Fix source archive URL
* Make use of error optional
* Replace C++ style comments with C style
* Various docstring fixes
* docs: Remove information about Python 2 support
* Remove unused test dependencies variables from Makefile
* Do not hardcode pylint executable name in Makefile
-------------------------------------------------------------------
Thu Jul 14 16:57:49 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package libbytesize
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,13 +19,14 @@
%define somajor 1
%define libname %{name}%{somajor}
Name: libbytesize
Version: 2.7
Version: 2.8
Release: 0
Summary: A library for working with sizes in bytes
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/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: gmp-devel
BuildRequires: gtk-doc
@ -33,7 +34,6 @@ BuildRequires: mpfr-devel
BuildRequires: pkgconfig
BuildRequires: python3-devel
BuildRequires: pkgconfig(libpcre2-8)
Recommends: %{name}-lang
%description
The LibBytesize is a C library that facilitates work with sizes in
@ -53,9 +53,10 @@ representation of a size in bytes. This library takes localization into
account. It also provides support for sizes bigger than MAXUINT64.
%package -n bscalc
Summary: A utility for workign with sizes in bytes
Summary: A utility for working with sizes in bytes
Group: System/Libraries
Requires: %{libname} = %{version}
BuildArch: noarch
%description -n bscalc
The LibBytesize is a C library that facilitates work with sizes in
@ -90,8 +91,8 @@ the library from Python 3 easier and more convenient.
%build
%configure \
--disable-static \
--with-python3 \
--with-gtk-doc
--with-python3 \
--with-gtk-doc
%make_build
%install