- fix usage of suse_version macro

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Hash-AutoHash?expand=0&rev=3
This commit is contained in:
Stephan Kulow
2010-12-01 16:15:28 +00:00
committed by Git OBS Bridge
parent b7be3c16c3
commit bf52406a61
2 changed files with 6 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 1 16:15:13 UTC 2010 - coolo@novell.com
- fix usage of suse_version macro
-------------------------------------------------------------------
Wed Dec 1 13:32:45 UTC 2010 - coolo@novell.com

View File

@@ -32,9 +32,7 @@ BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl(Module::Build)
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%if 0%{?suse_version} > 1120
BuildRequires: perl(Test::More) >= 0.88
%endif
@@ -69,7 +67,7 @@ Authors:
%prep
%setup -q -n %{cpan_name}-%{version}
%if 0%{suse_version} <= 1120
%if 0%{?suse_version} <= 1120
%patch0 -p1
%endif