[php-ezc-File/f18: 2/2] move sed from %build to %prep

Remi Collet remi at fedoraproject.org
Tue Aug 21 05:20:07 UTC 2012


commit ab3a843a71d2096d0e67ff50a12ff416f1eeb2c5
Author: remi <fedora at famillecollet.com>
Date:   Sun Aug 19 12:59:27 2012 +0200

    move sed from %build to %prep

 php-ezc-File.spec |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/php-ezc-File.spec b/php-ezc-File.spec
index 96b90a1..e9a30fd 100644
--- a/php-ezc-File.spec
+++ b/php-ezc-File.spec
@@ -35,15 +35,15 @@ missing.
 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}
 # Empty build section, most likely nothing required.
 
-# This are really doc, not data, not used in the code
-sed -e '/design/s/role="data"/role="doc"/' \
-    -i %{name}.xml
-
 
 %install
 cd %{pear_name}-%{version}


More information about the scm-commits mailing list