spec: use %_isa macro for Requires:

Version: 1.2.11-1
This commit is contained in:
Pavel Raiskup 2017-01-26 20:25:01 +01:00
parent 737073327a
commit fbdf14cdf0

View File

@ -24,7 +24,7 @@ library which is used by many different programs.
%package devel %package devel
Summary: Header files and libraries for Zlib development Summary: Header files and libraries for Zlib development
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel %description devel
The zlib-devel package contains the header files and libraries needed The zlib-devel package contains the header files and libraries needed
@ -34,7 +34,7 @@ library.
%package static %package static
Summary: Static libraries for Zlib development Summary: Static libraries for Zlib development
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release} Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%description static %description static
The zlib-static package includes static libraries needed The zlib-static package includes static libraries needed
@ -44,7 +44,7 @@ decompression library.
%package -n minizip %package -n minizip
Summary: Library for manipulation with .zip archives Summary: Library for manipulation with .zip archives
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n minizip %description -n minizip
Minizip is a library for manipulation with files from .zip archives. Minizip is a library for manipulation with files from .zip archives.
@ -52,8 +52,8 @@ Minizip is a library for manipulation with files from .zip archives.
%package -n minizip-devel %package -n minizip-devel
Summary: Development files for the minizip library Summary: Development files for the minizip library
Group: Development/Libraries Group: Development/Libraries
Requires: minizip = %{version}-%{release} Requires: minizip%{?_isa} = %{version}-%{release}
Requires: %{name}-devel = %{version}-%{release} Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
%description -n minizip-devel %description -n minizip-devel
@ -140,10 +140,11 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%{_libdir}/pkgconfig/minizip.pc %{_libdir}/pkgconfig/minizip.pc
%changelog %changelog
* Tue Jan 24 2017 Pavel Raiskup <praiskup@redhat.com> - 1.2.11-1 * Thu Jan 26 2017 Pavel Raiskup <praiskup@redhat.com> - 1.2.11-1
- latest upstream release (rhbz#1409372) - latest upstream release (rhbz#1409372)
- cleanup rpmlint - cleanup rpmlint
- revert fix for rhbz#985344 - revert fix for rhbz#985344
- requires with %%_isa tag
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-10 * Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild