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
This commit is contained in:
Sascha Peilicke 2011-06-07 07:30:21 +00:00 committed by Git OBS Bridge
parent 468683bc82
commit 9d64656457
2 changed files with 10 additions and 4 deletions

View File

@ -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 Mon Apr 11 10:58:07 UTC 2011 - lazy.kent@opensuse.org

View File

@ -24,11 +24,11 @@ License: GPLv3+
Summary: Extracting and Converting Microsoft Icon and Cursor Files Summary: Extracting and Converting Microsoft Icon and Cursor Files
Url: http://www.nongnu.org/icoutils/ Url: http://www.nongnu.org/icoutils/
Group: Productivity/Graphics/Other Group: Productivity/Graphics/Other
Source0: %{name}-%{version}.tar.bz2 Source0: http://savannah.nongnu.org/download/icoutils/%{name}-%{version}.tar.bz2
%if 0%{suse_version} < 1130 %if 0%{?suse_version} && 0%{?suse_version} >= 1130
BuildRequires: libpng-devel
%else
BuildRequires: libpng12-compat-devel BuildRequires: libpng12-compat-devel
%else
BuildRequires: libpng-devel
%endif %endif
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build