From: Stephen Soltesz Date: Thu, 11 Jun 2009 04:39:47 +0000 (+0000) Subject: because the taglevel was used for the drupal minor version also, tagging this X-Git-Tag: drupal-4.7-13~2 X-Git-Url: http://git.onelab.eu/?p=drupal.git;a=commitdiff_plain;h=67721f6a59f252a4e4da38b055ce676dd80766e9 because the taglevel was used for the drupal minor version also, tagging this file broke the build b/c it looked for a non-existant version of drupal. this fix adds a separate number for the drupal minorversion and the package taglevel. --- diff --git a/drupal.spec b/drupal.spec index cb36810..4c4d052 100644 --- a/drupal.spec +++ b/drupal.spec @@ -5,6 +5,7 @@ %define name drupal %define version 4.7 %define taglevel 12 +%define minorversion 11 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} @@ -20,7 +21,7 @@ Summary: An open-source content-management platform Group: Applications/Publishing License: GPLv2+ URL: http://www.drupal.org -Source0: http://ftp.osuosl.org/pub/drupal/files/projects/%{name}-%{version}.%{taglevel}.tar.gz +Source0: http://ftp.osuosl.org/pub/drupal/files/projects/%{name}-%{version}.%{minorversion}.tar.gz #Source1: drupal.conf Source2: drupal-cron Source3: http://ftp.drupal.org/files/projects/taxonomy_block-4.7.x-1.x-dev.tar.gz @@ -36,7 +37,7 @@ personal weblogs to large community-driven websites. Drupal is highly configurable, skinnable, and secure. %prep -%setup -q -n %{name}-%{version}.%{taglevel} -a 3 +%setup -q -n %{name}-%{version}.%{minorversion} -a 3 %build mv taxonomy_block modules