Ah don't add %{?_isa} for noarch packages

This commit is contained in:
Parag Nemade 2013-07-29 16:07:38 +05:30
parent 1f3d9d9946
commit 1e9264290e

View File

@ -1,6 +1,6 @@
Name: libvoikko
Version: 3.6
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Voikko is a library for spellcheckers and hyphenators
Group: System Environment/Libraries
@ -51,7 +51,7 @@ scripts.
%package -n python-libvoikko
Summary: Python interface to %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
# Note: noarch subpackage, only works in Fedora >= 11
BuildArch: noarch
@ -113,6 +113,9 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python_sitelib}/
%{python_sitelib}/%{name}.py*
%changelog
* Mon Jul 29 2013 Parag <paragn AT fedoraproject DOT org> - 3.6-2
- Ah don't add %%{?_isa} for noarch packages
* Mon Jul 29 2013 Parag <paragn AT fedoraproject DOT org> - 3.6-2
- Fix spec file to follow packaging guidelines