~wombelix/aws-c-io

8ec150358beb4c2c3f396bc026b400a00ff0d057 — Dominik Wombacher 4 months ago dc2e926 main
fix: Remove unnecessary %dir statements, move arch variable from BuildReq to Req in -devel subpackage
1 files changed, 8 insertions(+), 11 deletions(-)

M aws-c-io.spec
M aws-c-io.spec => aws-c-io.spec +8 -11
@@ 17,10 17,10 @@ Patch1:         0001-disable-tests-that-require-internet-connectivity.patch

BuildRequires:  gcc
BuildRequires:  cmake
BuildRequires:  openssl-devel%{?_isa}
BuildRequires:  aws-c-common-devel%{?_isa}
BuildRequires:  aws-c-cal-devel%{?_isa}
BuildRequires:  s2n-tls-devel%{?_isa}
BuildRequires:  openssl-devel
BuildRequires:  aws-c-common-devel
BuildRequires:  aws-c-cal-devel
BuildRequires:  s2n-tls-devel

# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch:    %{ix86}


@@ 34,10 34,10 @@ ExcludeArch: s390x

%package devel
Summary:        IO package for AWS SDK for C
Requires:       openssl-devel
Requires:       aws-c-common-devel
Requires:       aws-c-cal-devel
Requires:       s2n-tls-devel
Requires:       openssl-devel%{?_isa}
Requires:       aws-c-common-devel%{?_isa}
Requires:       aws-c-cal-devel%{?_isa}
Requires:       s2n-tls-devel%{?_isa}
Requires:       %{name}%{?_isa} = %{version}-%{release}

%description devel %{_description}


@@ 68,11 68,8 @@ Requires:       %{name}%{?_isa} = %{version}-%{release}

%files devel
%{_libdir}/libaws-c-io.so
%dir %{_includedir}/aws/io/
%dir %{_includedir}/aws/testing/
%{_includedir}/aws/io/
%{_includedir}/aws/testing/
%dir %{_libdir}/cmake/aws-c-io/
%{_libdir}/cmake/aws-c-io/