From 9d64656457232957b79df037fcaf6467e18f92b3e2a05b4b3d280a6c65ac33a1 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 7 Jun 2011 07:30:21 +0000 Subject: [PATCH] Accepting request 72838 from graphics use full URL for source; correct 'suse_version' macro usage OBS-URL: https://build.opensuse.org/request/show/72838 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icoutils?expand=0&rev=3 --- icoutils.changes | 6 ++++++ icoutils.spec | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/icoutils.changes b/icoutils.changes index 1db453f..ccb707a 100644 --- a/icoutils.changes +++ b/icoutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jun 5 08:16:50 UTC 2011 - lazy.kent@opensuse.org + +- use full URL for Source +- correct suse_version macro + ------------------------------------------------------------------- Mon Apr 11 10:58:07 UTC 2011 - lazy.kent@opensuse.org diff --git a/icoutils.spec b/icoutils.spec index 764a58a..782b8c5 100644 --- a/icoutils.spec +++ b/icoutils.spec @@ -24,11 +24,11 @@ License: GPLv3+ Summary: Extracting and Converting Microsoft Icon and Cursor Files Url: http://www.nongnu.org/icoutils/ Group: Productivity/Graphics/Other -Source0: %{name}-%{version}.tar.bz2 -%if 0%{suse_version} < 1130 -BuildRequires: libpng-devel -%else +Source0: http://savannah.nongnu.org/download/icoutils/%{name}-%{version}.tar.bz2 +%if 0%{?suse_version} && 0%{?suse_version} >= 1130 BuildRequires: libpng12-compat-devel +%else +BuildRequires: libpng-devel %endif BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build