[drupal6-advanced-help/el6/master: 3/3] Initial EL6 version

Sven Lankes slankes at fedoraproject.org
Wed Jan 19 20:19:40 UTC 2011


commit b49a9975161dd94404bf79868102fbe6528b607c
Author: Sven Lankes <sven at lank.es>
Date:   Wed Jan 19 21:19:17 2011 +0100

    Initial EL6 version

 drupal6-advanced-help.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/drupal6-advanced-help.spec b/drupal6-advanced-help.spec
index 006b308..9fe8b4f 100644
--- a/drupal6-advanced-help.spec
+++ b/drupal6-advanced-help.spec
@@ -1,4 +1,4 @@
-%define drupaldir %{_datadir}/drupal
+%define drupaldir %{_datadir}/drupal6
 Name: drupal6-advanced-help
 Version:  1.2
 Release:  2%{?dist}
@@ -11,7 +11,8 @@ Source0: http://ftp.drupal.org/files/projects/advanced_help-6.x-1.2.tar.gz
 Source1: drupal6-advanced-help-fedora-README.txt
 
 BuildArch: noarch
-Requires: drupal >= 6.0
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: drupal6 >= 6.0
 
 %description
 The advanced help module allows module developers to store their help
@@ -28,9 +29,13 @@ The entire system can appear in a pop-up or not as the module prefers.
 cp %{SOURCE1} .
 
 %install
+rm -rf %{buildroot}
 install -d %{buildroot}%{drupaldir}/modules/advanced-help
 cp -pr * %{buildroot}%{drupaldir}/modules/advanced-help
 
+%clean
+rm -rf %{buildroot}
+
 %files
 %defattr(-,root,root,-)
 %doc LICENSE.txt drupal6-advanced-help-fedora-README.txt
@@ -41,7 +46,6 @@ cp -pr * %{buildroot}%{drupaldir}/modules/advanced-help
 %Changelog
 * Wed Jan 19 2011 Sven Lankes <sven at lank.es> - 1.2-2
 - Fix license - everything in Drupal CVS is GPLv2+
-- Remove unneeded specfile-cruft
 
 * Wed Oct 13 2010 Sven Lankes <sven at lank.es> - 1.2-1
 - Initial packaging.


More information about the scm-commits mailing list