@@ 12,18 12,33 @@ BuildRequires: aws-c-common-devel
BuildRequires: cmake
BuildRequires: gcc
+Requires: aws-c-common-libs
+
%description
Cross-Platform HW accelerated CRC32c and CRC32 with
fallback to efficient SW implementations. C interface
with language bindings for each of our SDKs
+%package libs
+Summary: Efficient CRC32c and CRC32 implementations
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description libs
+Cross-Platform HW accelerated CRC32c and CRC32 with
+fallback to efficient SW implementations. C interface
+with language bindings for each of our SDKs
+
+
%package devel
-Summary: aws-checksums development headers
+Summary: Efficient CRC32c and CRC32 implementations
+Requires: aws-c-common-devel
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
-Development files and libraries for aws-checksums
+Cross-Platform HW accelerated CRC32c and CRC32 with
+fallback to efficient SW implementations. C interface
+with language bindings for each of our SDKs
%prep
@@ 46,18 61,21 @@ Development files and libraries for aws-checksums
%files
%license LICENSE
%doc README.md
-%{_libdir}/libaws-checksums.so.1.0.0
+
+
+%files libs
+%{_libdir}/libaws-checksums.so.1{,.*}
%files devel
+%{_libdir}/libaws-checksums.so
%dir %{_includedir}/aws
%dir %{_includedir}/aws/checksums
%{_includedir}/aws/checksums/*.h
%dir %{_libdir}/cmake/aws-checksums
-%{_libdir}/cmake/aws-checksums/*.cmake
%dir %{_libdir}/cmake/aws-checksums/shared
+%{_libdir}/cmake/aws-checksums/*.cmake
%{_libdir}/cmake/aws-checksums/shared/*.cmake
-%{_libdir}/libaws-checksums.so
%changelog