summaryrefslogtreecommitdiffstats
path: root/php-sabredav-Sabre_DAV.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-02-20 10:15:24 +0100
committerRemi Collet <fedora@famillecollet.com>2014-02-20 10:15:24 +0100
commit8b2221779324ec1d3c5783ed49c0b92f838f68f9 (patch)
treea967bea4cd648b1b9be734984b0c894360f79cde /php-sabredav-Sabre_DAV.spec
parentc720b5a0bfb856e031b2237dc6f5edb1479a8a65 (diff)
php-sabredav-Sabre*: revert to 1.7.x (no namespace)
Diffstat (limited to 'php-sabredav-Sabre_DAV.spec')
-rw-r--r--php-sabredav-Sabre_DAV.spec23
1 files changed, 16 insertions, 7 deletions
diff --git a/php-sabredav-Sabre_DAV.spec b/php-sabredav-Sabre_DAV.spec
index e3be00f..28c82f3 100644
--- a/php-sabredav-Sabre_DAV.spec
+++ b/php-sabredav-Sabre_DAV.spec
@@ -1,11 +1,12 @@
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%global pear_name Sabre_DAV
%global channelname pear.sabredav.org
-%global mainver 1.8.7
-%global reldate 2013-10-02
+%global mainver 1.7.10
+%global reldate 2014-02-09
Name: php-sabredav-Sabre_DAV
-Version: 1.8.7
+Epoch: 1
+Version: 1.7.10
Release: 1%{?dist}
Summary: Sabre_DAV is a WebDAV framework for PHP
@@ -31,8 +32,8 @@ Requires: php-channel(%{channelname})
Requires: php-xml
Requires: php-mbstring
Requires: php-pdo
-Requires: php-pear(%{channelname}/Sabre) >= 1.0.1
-Requires: php-pear(%{channelname}/Sabre_HTTP) >= 1.8.1
+Requires: php-pear(%{channelname}/Sabre) >= 1.0.2
+Requires: php-pear(%{channelname}/Sabre_HTTP) >= 1.7.10
Provides: php-pear(%{pear_name}) = %{version}
Provides: php-pear(%{channelname}/%{pear_name}) = %{version}
@@ -61,11 +62,16 @@ fi
touch error.lst
for fic in $(find Sabre/DAV -type f)
do
- grep $fic %{name}.xml || echo $fic >> error.lst
+ grep $fic %{name}.xml || echo -$fic >> error.lst
+done
+
+for fic in $(grep '<file' %{name}.xml | sed -e 's/.*name="//' -e 's/".*//')
+do
+ [ -f $fic ] || echo +$fic >> error.lst
done
if [ -s error.lst ]; then
- : Missing in %{name}.xml
+ : Error in %{name}.xml
cat error.lst
exit 1
fi
@@ -105,6 +111,9 @@ fi
%changelog
+* Thu Feb 20 2014 Remi Collet <RPMS@FamilleCollet.com> 1:1.7.10-1
+- revert to 1.7
+
* Sat Oct 5 2013 Remi Collet <RPMS@FamilleCollet.com> 1.8.7-1
- update to 1.8.7