diff --git a/libuna.spec b/libuna.spec index 1432f65..a7800a6 100644 --- a/libuna.spec +++ b/libuna.spec @@ -1,5 +1,5 @@ # -# spec file for package libuna +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -24,14 +24,14 @@ %endif %define lname libuna1 -Name: libuna +Name: libuna%psuffix Version: 20210418 Release: 0 Summary: Library to support Unicode and ASCII (byte string) conversions License: LGPL-3.0-or-later Group: Development/Libraries/C and C++ URL: https://github.com/libyal/libuna/ -Source: %name-%version.tar.xz +Source: libuna-%version.tar.xz Patch1: system-libs.patch BuildRequires: c_compiler BuildRequires: gettext-tools >= 0.18.1 @@ -74,7 +74,7 @@ Summary: Development files for libuna, a library to support Unicode/ASCII Group: Development/Libraries/C and C++ Requires: %lname%psuffix = %version %if "@BUILD_FLAVOR@" == "" -Obsoletes: libuna-devel-mini +Obsoletes: libuna-mini-devel %endif %description %{?pprefix}devel @@ -85,7 +85,7 @@ This subpackage contains libraries and header files for developing applications that want to make use of libuna. %prep -%autosetup -p1 +%autosetup -p1 -n libuna-%version %build if [ ! -e configure ]; then ./autogen.sh; fi