[php-ezc-Cache] - move data to doc (not used in the code, really doc) - doc in /usr/share/doc/pear
Remi Collet
remi at fedoraproject.org
Sun Aug 19 07:41:43 UTC 2012
commit 3fbada04359a0108bc109b194211eb285bc4400c
Author: remi <fedora at famillecollet.com>
Date: Sun Aug 19 09:41:23 2012 +0200
- move data to doc (not used in the code, really doc)
- doc in /usr/share/doc/pear
php-ezc-Cache.spec | 23 +++++++++++------------
1 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/php-ezc-Cache.spec b/php-ezc-Cache.spec
index 873eae5..ed4cea5 100644
--- a/php-ezc-Cache.spec
+++ b/php-ezc-Cache.spec
@@ -4,7 +4,7 @@
Name: php-ezc-Cache
Version: 1.5
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Provides a collection of lightweight classes to cache different kinds of data
Group: Development/Libraries
@@ -38,6 +38,10 @@ APC cache storage is available only if php-pecl-apc extension installed.
%{__mv} package2.xml %{pear_name}-%{version}/%{name}.xml
cd %{pear_name}-%{version}
+# This are really doc, not data, not used in the code
+sed -e '/design/s/role="data"/role="doc"/' \
+ -i %{name}.xml
+
%build
cd %{pear_name}-%{version}
@@ -46,17 +50,9 @@ cd %{pear_name}-%{version}
%install
cd %{pear_name}-%{version}
-%{__rm} -rf %{buildroot} docdir
+%{__rm} -rf %{buildroot}
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
-# Move documentation
-%{__mv} %{buildroot}%{pear_docdir}/%{pear_name}/docs ./docdir
-%{__rm} -rf %{buildroot}%{pear_docdir}
-
-# rpmlint (E): zero-length
-%{__rm} -f ./docdir/cache/content/dummy
-%{__rm} -f ./docdir/cache/templates/dummy
-
# Clean up unnecessary files
%{__rm} -rf %{buildroot}%{pear_phpdir}/.??*
@@ -83,14 +79,17 @@ fi
%files
%defattr(-,root,root,-)
-%doc %{pear_name}-%{version}/docdir/*
+%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{name}.xml
-%{pear_phpdir}/data/%{pear_name}
%{pear_phpdir}/ezc/%{pear_name}
%{pear_phpdir}/ezc/autoload/cache_autoload.php
%changelog
+* Sun Aug 19 2012 Remi Collet <remi at fedoraproject.org> - 1.5-5
+- move data to doc (not used in the code, really doc)
+- doc in /usr/share/doc/pear
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list