[drupal6-token] - Corrected alignment. - Version macro is added to Source0 line. - Chmod and cp lines are copied und

Peter Borsa asrob at fedoraproject.org
Fri Jan 28 17:26:31 UTC 2011


commit fd5c773112ece57e1bd42261d36482302ee57170
Author: Peter Borsa <peter.borsa at gmail.com>
Date:   Fri Jan 28 18:19:41 2011 +0100

    - Corrected alignment.
    - Version macro is added to Source0 line.
    - Chmod and cp lines are copied under prep section.

 drupal6-token.spec |   31 +++++++++++++++++--------------
 1 files changed, 17 insertions(+), 14 deletions(-)
---
diff --git a/drupal6-token.spec b/drupal6-token.spec
index bc9a759..ec979a7 100644
--- a/drupal6-token.spec
+++ b/drupal6-token.spec
@@ -1,18 +1,18 @@
 %global drupaldir %{_datadir}/drupal6
-Name: drupal6-token
-Version:  1.15
-Release:  3%{?dist}
-Summary:  Tokens are small bits of text that can be placed into larger documents
+Name:      drupal6-token
+Version:   1.15
+Release:   4%{?dist}
+Summary:   Tokens are small bits of text that can be placed into larger documents
 
-Group: Applications/Publishing
-License: GPLv2+
-URL: http://drupal.org/project/token
-Source0: http://ftp.drupal.org/files/projects/token-6.x-1.15.tar.gz
-Source1: %{name}-fedora-README.txt
+Group:     Applications/Publishing
+License:   GPLv2+
+URL:       http://drupal.org/project/token
+Source0:   http://ftp.drupal.org/files/projects/token-6.x-%{version}.tar.gz
+Source1:   %{name}-fedora-README.txt
 
 BuildArch: noarch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: drupal6
+Requires:  drupal6
 
 %description
 Tokens are small bits of text that can be placed into larger documents
@@ -21,14 +21,12 @@ The Token module provides a central API for modules to use these tokens,
 and expose their own token values.
 
 %prep
-
 %setup -qn token
+chmod -x token.module
+cp -p %{SOURCE1} .
 
 %build
 
-chmod -x token.module
-cp %{SOURCE1} .
-
 %install
 rm -rf %{buildroot}
 install -d %{buildroot}%{drupaldir}/modules/token
@@ -44,6 +42,11 @@ rm -rf %{buildroot}
 %{drupaldir}/modules/token
 
 %changelog
+* Fri Jan 28 2011 Peter Borsa <peter.borsa at gmail.com> - 1.15-4
+- Corrected alignment.
+- Version macro is added to Source0 line.
+- Chmod and cp lines are copied under prep section.
+
 * Fri Jan 14 2011 Peter Borsa <peter.borsa at gmail.com> - 1.15-3
 - The License field is changed.
 


More information about the scm-commits mailing list