[drupal7-crumbs] Updated to 2.1 (BZ #1140107)

Shawn Iwinski siwinski at fedoraproject.org
Wed Sep 24 22:45:54 UTC 2014


commit 94cf27a92aa7ae064121bed34484b0cd8c57d694
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Wed Sep 24 18:05:58 2014 -0400

    Updated to 2.1 (BZ #1140107)
    
    - %license usage

 .gitignore          |    1 +
 drupal7-crumbs.spec |   25 ++++++++++++++++---------
 sources             |    2 +-
 3 files changed, 18 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 92dfeb4..f808b6b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
 /crumbs-7.x-2.0-beta9.tar.gz
 /crumbs-7.x-2.0-beta13.tar.gz
 /crumbs-7.x-2.0-beta19.tar.gz
+/crumbs-7.x-2.1.tar.gz
diff --git a/drupal7-crumbs.spec b/drupal7-crumbs.spec
index ed05be5..781fff0 100644
--- a/drupal7-crumbs.spec
+++ b/drupal7-crumbs.spec
@@ -1,25 +1,26 @@
 %{?drupal7_find_provides_and_requires}
 
 %global module_name crumbs
-%global alphabeta beta19
 
 Name:          drupal7-%{module_name}
-Version:       2.0
-Release:       0.8.beta19%{?dist}
+Version:       2.1
+Release:       1%{?dist}
 Summary:       The ultimate breadcrumbs module
 
 Group:         Applications/Publishing
 License:       GPLv2+
 URL:           http://drupal.org/project/%{module_name}
-Source0:       http://ftp.drupal.org/files/projects/%{module_name}-7.x-%{version}-%{alphabeta}.tar.gz
+Source0:       http://ftp.drupal.org/files/projects/%{module_name}-7.x-%{version}.tar.gz
 Source1:       %{name}-RPM-README.txt
 
 BuildArch:     noarch
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: drupal7-rpmbuild >= 7.22-5
+BuildRequires: drupal7-rpmbuild >= 7.23-3
 
-# phpci
+# phpcompatinfo (computed from version 2.1)
+Requires:      php-date
 Requires:      php-pcre
+Requires:      php-reflection
 Requires:      php-spl
 
 %description
@@ -48,7 +49,7 @@ This package provides the following Drupal module:
 
 
 %prep
-%setup -q -n %{module_name}
+%setup -qn %{module_name}
 cp -p %{SOURCE1} .
 
 
@@ -58,7 +59,7 @@ cp -p %{SOURCE1} .
 
 %install
 rm -rf %{buildroot}
-mkdir -p -m 0755 %{buildroot}%{drupal7_modules}/%{module_name}
+mkdir -pm 0755 %{buildroot}%{drupal7_modules}/%{module_name}
 cp -pr * %{buildroot}%{drupal7_modules}/%{module_name}/
 
 
@@ -68,12 +69,18 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc *.txt
+%{!?_licensedir:%global license %%doc}
+%license LICENSE.txt
+%doc README.txt
 %{drupal7_modules}/%{module_name}
 %exclude %{drupal7_modules}/%{module_name}/*.txt
 
 
 %changelog
+* Wed Sep 24 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 2.1-1
+- Updated to 2.1 (BZ #1140107)
+- %%license usage
+
 * Thu Aug 07 2014 Peter Borsa <peter.borsa at gmail.com> 2.0-0.8.beta19
 - Update to upstream 2.0-beta19 release for bug fixes
 - Upstream changelog for this release is available at https://drupal.org/node/2315031
diff --git a/sources b/sources
index 43e858f..9ece0f2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8703489836a7efdec9d27f68152fd13c  crumbs-7.x-2.0-beta19.tar.gz
+b49871ad3a48385ab97bfb07b1a82858  crumbs-7.x-2.1.tar.gz


More information about the scm-commits mailing list