[drupal7-taxonomy_access_fix] Updated to 2.0 (BZ #1060000)

Shawn Iwinski siwinski at fedoraproject.org
Sat Feb 15 20:47:12 UTC 2014


commit c073c70151815d98aa75d11a6c7218c402219caf
Author: Shawn Iwinski <siwinski at redhat.com>
Date:   Sat Feb 15 15:47:20 2014 -0500

    Updated to 2.0 (BZ #1060000)
    
    - Release notes: https://drupal.org/node/2152445)

 .gitignore                       |    1 +
 drupal7-taxonomy_access_fix.spec |   36 ++++++++++++++++++++++--------------
 sources                          |    1 +
 3 files changed, 24 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ff0bfab..518059b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /taxonomy_access_fix-7.x-1.1.tar.gz
+/taxonomy_access_fix-7.x-2.0.tar.gz
diff --git a/drupal7-taxonomy_access_fix.spec b/drupal7-taxonomy_access_fix.spec
index f638b05..4f6fe1d 100644
--- a/drupal7-taxonomy_access_fix.spec
+++ b/drupal7-taxonomy_access_fix.spec
@@ -1,24 +1,26 @@
 %{?drupal7_find_provides_and_requires}
 
-%global module_name taxonomy_access_fix
+%global module taxonomy_access_fix
 
-Name:          drupal7-%{module_name}
-Version:       1.1
-Release:       3%{?dist}
+Name:          drupal7-%{module}
+Version:       2.0
+Release:       1%{?dist}
 Summary:       Fixes the crooked access checks for Taxonomy pages
 
 Group:         Applications/Publishing
 License:       GPLv2+
-URL:           http://drupal.org/project/%{module_name}
-Source0:       http://ftp.drupal.org/files/projects/%{module_name}-7.x-%{version}.tar.gz
+URL:           http://drupal.org/project/%{module}
+Source0:       http://ftp.drupal.org/files/projects/%{module}-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
 
 # Since Drupal 7 only requires PHP >= 5.2.5, we must must specify greater PHP min ver
-Requires:      php-common >= 5.3.0
+Requires:      php(language) >= 5.3.0
+# phpcompatinfo (computed from version 2.0)
+# <none>
 
 %description
 This module:
@@ -39,13 +41,16 @@ in X" permissions are located under "Taxonomy access fix" and not under
 "Taxonomy".
 
 This package provides the following Drupal module:
-* %{module_name}
+* %{module}
 
 
 %prep
-%setup -q -n %{module_name}
+%setup -qn %{module}
 cp -p %{SOURCE1} .
 
+# Remove executable bit
+chmod a-x LICENSE.txt
+
 
 %build
 # Empty build section, nothing to build
@@ -53,8 +58,8 @@ cp -p %{SOURCE1} .
 
 %install
 rm -rf %{buildroot}
-mkdir -p -m 0755 %{buildroot}%{drupal7_modules}/%{module_name}
-cp -pr * %{buildroot}%{drupal7_modules}/%{module_name}
+mkdir -pm 0755 %{buildroot}%{drupal7_modules}/%{module}
+cp -pr * %{buildroot}%{drupal7_modules}/%{module}/
 
 
 %clean
@@ -64,11 +69,14 @@ rm -rf %{buildroot}
 %files
 %defattr(-,root,root,-)
 %doc *.txt
-%{drupal7_modules}/%{module_name}
-%exclude %{drupal7_modules}/%{module_name}/*.txt
+%{drupal7_modules}/%{module}
+%exclude %{drupal7_modules}/%{module}/*.txt
 
 
 %changelog
+* Sat Feb 15 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 2.0-1
+- Updated to 2.0 (BZ #1060000; release notes https://drupal.org/node/2152445)
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 92cdcba..750a552 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 18b706daef9329e8f2a64af4ecc3b760  taxonomy_access_fix-7.x-1.1.tar.gz
+5e40b5fcbf2c495f981ab89dab19b7ba  taxonomy_access_fix-7.x-2.0.tar.gz


More information about the scm-commits mailing list