From 068701b9108f1a6ec244178f7f344ea04fbdc589cb966dd488ab34bdd3d0288a Mon Sep 17 00:00:00 2001 From: Luciano Santos Date: Sat, 6 May 2023 21:36:09 +0000 Subject: [PATCH 1/2] Accepting request 1084912 from home:dirkmueller:Factory - 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 OBS-URL: https://build.opensuse.org/request/show/1084912 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbytesize?expand=0&rev=16 --- libbytesize-2.7.tar.gz | 3 --- libbytesize-2.8.tar.gz | 3 +++ libbytesize.changes | 15 +++++++++++++++ libbytesize.spec | 4 ++-- 4 files changed, 20 insertions(+), 5 deletions(-) delete mode 100644 libbytesize-2.7.tar.gz create mode 100644 libbytesize-2.8.tar.gz diff --git a/libbytesize-2.7.tar.gz b/libbytesize-2.7.tar.gz deleted file mode 100644 index d12e91c..0000000 --- a/libbytesize-2.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8bae8287af6ef5624c320f70defdcd84ddc0c2057d3b59a5871897f27697811e -size 445367 diff --git a/libbytesize-2.8.tar.gz b/libbytesize-2.8.tar.gz new file mode 100644 index 0000000..39df473 --- /dev/null +++ b/libbytesize-2.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d87aef5a37e189b1cc827530e0feafa6529331fcbe2aabf330a01ad8ec95e1a0 +size 458581 diff --git a/libbytesize.changes b/libbytesize.changes index 047b9ee..6979d76 100644 --- a/libbytesize.changes +++ b/libbytesize.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu May 4 23:44:06 UTC 2023 - Dirk Müller + +- 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 diff --git a/libbytesize.spec b/libbytesize.spec index 98fad4b..97dcc7c 100644 --- a/libbytesize.spec +++ b/libbytesize.spec @@ -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,7 +19,7 @@ %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 From 79d19c4c587d55b02692c0d3d9a62dfddc29a67b30dce4b64ab5187021346b55 Mon Sep 17 00:00:00 2001 From: Luciano Santos Date: Sat, 6 May 2023 22:30:44 +0000 Subject: [PATCH 2/2] 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 --- libbytesize.changes | 8 ++++++++ libbytesize.spec | 9 +++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/libbytesize.changes b/libbytesize.changes index 6979d76..81ec87f 100644 --- a/libbytesize.changes +++ b/libbytesize.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat May 6 21:46:55 UTC 2023 - Luciano Santos + +- 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 diff --git a/libbytesize.spec b/libbytesize.spec index 97dcc7c..5d41780 100644 --- a/libbytesize.spec +++ b/libbytesize.spec @@ -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