[drupal7-path_breadcrumbs] Updated to 3.1 (BZ #1178332)

Shawn Iwinski siwinski at fedoraproject.org
Sun Jan 4 06:47:29 UTC 2015


commit a49bfac2f2c9a038349dffa13c23e310cdb50ca8
Author: Shawn Iwinski <siwinski at redhat.com>
Date:   Sun Jan 4 01:47:18 2015 -0500

    Updated to 3.1 (BZ #1178332)
    
    - %license usage

 .gitignore                    |    1 +
 drupal7-path_breadcrumbs.spec |   34 +++++++++++++++++++++-------------
 sources                       |    4 +---
 3 files changed, 23 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0129877..95fa06d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /path_breadcrumbs-7.x-3.0-beta6.tar.gz
 /path_breadcrumbs-7.x-3.0-rc1.tar.gz
 /path_breadcrumbs-7.x-3.0-rc2.tar.gz
+/path_breadcrumbs-7.x-3.1.tar.gz
diff --git a/drupal7-path_breadcrumbs.spec b/drupal7-path_breadcrumbs.spec
index 4b160aa..3ecc1d1 100644
--- a/drupal7-path_breadcrumbs.spec
+++ b/drupal7-path_breadcrumbs.spec
@@ -1,27 +1,24 @@
 %{?drupal7_find_provides_and_requires}
 
-%global module      path_breadcrumbs
-%global pre_release rc2
+%global module path_breadcrumbs
 
 Name:          drupal7-%{module}
-Version:       3.0
-Release:       0.9.%{pre_release}%{?dist}
+Version:       3.1
+Release:       1%{?dist}
 Summary:       Allows creation of custom breadcrumbs for any page using contexts
 
 Group:         Applications/Publishing
 License:       GPLv2+
 URL:           http://drupal.org/project/%{module}
-Source0:       http://ftp.drupal.org/files/projects/%{module}-7.x-%{version}-%{pre_release}.tar.gz
-Source1:       %{name}-RPM-README.txt
+Source0:       http://ftp.drupal.org/files/projects/%{module}-7.x-%{version}.tar.gz
 
 BuildArch:     noarch
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: drupal7-rpmbuild >= 7.23-3
 
-Requires:      drupal7-ctools
-#Requires:      drupal7(ctools)
+Requires:      drupal7(ctools)
 Requires:      drupal7(entity_token)
-# phpcompatinfo (computed from version 3.0-rc2)
+# phpcompatinfo (computed from version 3.1)
 Requires:      php-pcre
 
 %description
@@ -54,10 +51,15 @@ This package provides the following Drupal modules:
 
 %prep
 %setup -qn %{module}
-cp -p %{SOURCE1} .
 
-# Remove executable bit
-chmod a-x LICENSE.txt
+# RPM README
+cat > RPM-README.txt <<'RPM_README'
+After installation, you must enable this module from the Drupal administration
+page.
+
+If upgrading this module separately from the core Drupal package, be sure to
+run the http://hostname/drupal7/upgrade.php script after this RPM is upgraded.
+RPM_README
 
 
 %build
@@ -76,12 +78,18 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc *.txt
+%{!?_licensedir:%global license %%doc}
+%license LICENSE.txt
+%doc CHANGELOG.txt README.txt RPM-README.txt
 %{drupal7_modules}/%{module}
 %exclude %{drupal7_modules}/%{module}/*.txt
 
 
 %changelog
+* Sun Jan 04 2015 Shawn Iwinski <shawn.iwinski at gmail.com> - 3.1-1
+- Updated to 3.1 (BZ #1178332)
+- %%license usage
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0-0.9.rc2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index a0995a2..353b825 100644
--- a/sources
+++ b/sources
@@ -1,3 +1 @@
-762febc02fe61d7dc553df5104f9f628  path_breadcrumbs-7.x-3.0-beta6.tar.gz
-2b5fe74d6fcf7330d15dd1cf132dc106  path_breadcrumbs-7.x-3.0-rc1.tar.gz
-761adcb2d57152e135a501488446766b  path_breadcrumbs-7.x-3.0-rc2.tar.gz
+b42a28bda1c436d4493470988ac2ad74  path_breadcrumbs-7.x-3.1.tar.gz


More information about the scm-commits mailing list