[php-ezc-Archive] - 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:11:04 UTC 2012
commit fe17b0e013ab20d79fe64bb218233f2bbc792264
Author: remi <fedora at famillecollet.com>
Date: Sun Aug 19 09:10:40 2012 +0200
- move data to doc (not used in the code, really doc)
- doc in /usr/share/doc/pear
php-ezc-Archive.spec | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/php-ezc-Archive.spec b/php-ezc-Archive.spec
index 64cc230..4606858 100644
--- a/php-ezc-Archive.spec
+++ b/php-ezc-Archive.spec
@@ -5,7 +5,7 @@
Name: php-ezc-Archive
Version: 1.4.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: A component for create, modify, and extract archive files of various formats
Group: Development/Libraries
@@ -39,6 +39,10 @@ stream wrappers from PHP should be used to handle compressed archives.
%{__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 's/role="data"/role="doc"/' \
+ -i %{name}.xml
+
%build
cd %{pear_name}-%{version}
@@ -47,13 +51,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}
-
# Clean up unnecessary files
%{__rm} -rf %{buildroot}%{pear_phpdir}/.??*
@@ -80,14 +80,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/archive_autoload.php
%changelog
+* Sun Aug 19 2012 Remi Collet <remi at fedoraproject.org> - 1.4.1-6
+- 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.4.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list