diff --git a/zchunk.changes b/zchunk.changes index 0056540..a8c522c 100644 --- a/zchunk.changes +++ b/zchunk.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jul 18 08:09:07 UTC 2018 - mpluskal@suse.com + +- Do not manually specify dependencies which are automatically + generated +- Make requirements of devel package less strict + ------------------------------------------------------------------- Tue Jul 17 12:46:26 UTC 2018 - Neal Gompa diff --git a/zchunk.spec b/zchunk.spec index cf5f4fd..c9173d9 100644 --- a/zchunk.spec +++ b/zchunk.spec @@ -1,6 +1,7 @@ # # spec file for package zchunk # +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 Neal Gompa . # # All modifications and additions to the file contributed by third parties @@ -19,14 +20,12 @@ %global somajor 1 %global libname libzck%{somajor} %global devname libzck-devel - - Name: zchunk Version: 0.7.6 Release: 0 Summary: Compressed file format that allows easy deltas -Group: Productivity/Archiving/Compression License: BSD-2-Clause AND MIT +Group: Productivity/Archiving/Compression URL: https://github.com/zchunk/zchunk Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: meson @@ -34,7 +33,6 @@ BuildRequires: pkgconfig BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libzstd) BuildRequires: pkgconfig(openssl) -Requires: %{libname}%{?_isa} = %{version}-%{release} Provides: bundled(buzhash-urlblock) = 0.1 %description @@ -45,8 +43,8 @@ zchunk files are protected with strong checksums to verify that the file you downloaded is in fact the file you wanted. %package -n %{libname} -Summary: Zchunk library -Group: System/Libraries +Summary: Zchunk library +Group: System/Libraries %description -n %{libname} zchunk is a compressed file format that splits the file into independent @@ -58,11 +56,11 @@ downloaded is in fact the file you wanted. This package contains the zchunk library, libzck. %package -n %{devname} -Summary: Headers for building against zchunk -Group: Development/Libraries/C and C++ -Provides: %{name}-devel = %{name}-%{release} -Provides: %{name}-devel%{?_isa} = %{name}-%{release} -Requires: %{libname}%{?_isa} = %{version}-%{release} +Summary: Headers for building against zchunk +Group: Development/Libraries/C and C++ +Requires: %{libname} = %{version} +Provides: %{name}-devel = %{name}-%{release} +Provides: %{name}-devel%{?_isa} = %{name}-%{release} %description -n %{devname} zchunk is a compressed file format that splits the file into independent @@ -89,7 +87,6 @@ rm -rf src/lib/hash/sha* %check %meson_test - %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig @@ -111,5 +108,4 @@ rm -rf src/lib/hash/sha* %{_libdir}/pkgconfig/zck.pc %{_includedir}/zck.h - %changelog