Accepting request 1085257 from home:luc14n0:branches:devel:libraries:c_c++

Remove lang package recommendation and make bscalc package noarch.

OBS-URL: https://build.opensuse.org/request/show/1085257
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbytesize?expand=0&rev=17
This commit is contained in:
Luciano Santos 2023-05-06 22:30:44 +00:00 committed by Git OBS Bridge
parent 068701b910
commit 79d19c4c58
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
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>

View File

@ -26,6 +26,7 @@ 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