Browse Source

fix tracking and remove hard-coded version

master
parent
commit
686a88a88d
  1. 12
      gimp/gimp.spec

12
gimp/gimp.spec

@ -23,6 +23,10 @@
## SUCH DAMAGE.
##
# package version
%define V_major 2.0
%define V_minor 0
# package information
Name: gimp
Summary: GNU Image Manipulation Program
@ -33,11 +37,11 @@ Distribution: OpenPKG
Class: PLUS
Group: Graphics
License: GPL
Version: 2.0.0
Release: 20040324
Version: %{V_major}.%{V_minor}
Release: 20040403
# list of sources
Source0: ftp://ftp.gimp.org/pub/gimp/v2.0/v%{version}/gimp-%{version}.tar.bz2
Source0: ftp://ftp.gimp.org/pub/gimp/v%{V_major}/gimp-%{version}.tar.bz2
# build information
Prefix: %{l_prefix}
@ -60,8 +64,6 @@ AutoReqProv: no
url = ftp://ftp.gimp.org/pub/gimp/
regex = (?<!\w)v(2\.[024])
url = ftp://ftp.gimp.org/pub/gimp/v__NEWVER__/
regex = (?<!\w)v(__VER__)
url = ftp://ftp.gimp.org/pub/gimp/v__NEWVER1__/v__NEWVER__/
regex = gimp-(__VER__)\.tar\.bz2
}

Loading…
Cancel
Save