From 4b328420a6d2e5c9db96367783d7c18eb0074738dfb805aff718ba4343cc3adc Mon Sep 17 00:00:00 2001 From: Luciano Santos Date: Sat, 23 Sep 2023 01:24:38 +0000 Subject: [PATCH] Rename Python sub-package to pyton3-bytesize OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbytesize?expand=0&rev=21 --- libbytesize.changes | 6 ++++++ libbytesize.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libbytesize.changes b/libbytesize.changes index 674809d..1a66ae9 100644 --- a/libbytesize.changes +++ b/libbytesize.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Sep 23 01:07:32 UTC 2023 - Luciano Santos + +- Rename python3-libbytesize sub-package to python3-bytesize. This + is the expected name by its consumers. + ------------------------------------------------------------------- Wed Aug 30 19:40:43 UTC 2023 - Luciano Santos diff --git a/libbytesize.spec b/libbytesize.spec index 168e4bb..0cc9d10 100644 --- a/libbytesize.spec +++ b/libbytesize.spec @@ -71,13 +71,13 @@ Requires: libbytesize%{soversion} = %{version} This package contains header files and pkg-config files needed for development with the LibBytesize library. -%package -n python3-%{name} +%package -n python3-bytesize Summary: Python 3 bindings for LibBytesize Group: Development/Libraries/Python Requires: libbytesize%{soversion} = %{version} Requires: python3-six -%description -n python3-%{name} +%description -n python3-bytesize This package contains Python 3 bindings for LibBytesize making the use of the library from Python 3 easier and more convenient. @@ -119,7 +119,7 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_includedir}/bytesize/bs_size.h %{_libdir}/pkgconfig/bytesize.pc -%files -n python3-%{name} +%files -n python3-bytesize %dir %{python3_sitearch}/bytesize %{python3_sitearch}/bytesize/*