summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-12 11:00:19 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-12 11:00:19 +0100
commit158b9dacc6f037902ab8f700556d90be3e417eac (patch)
treeeb0d8b080f35f30204398bdc41ec27b01a5268ba
parente3804f6277d374ccc2646037a1af05070e1c3fad (diff)
php-sabredav-Sabre_VObject: backport
-rw-r--r--Makefile4
-rw-r--r--php-sabredav-Sabre_VObject.spec9
2 files changed, 11 insertions, 2 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..13af741
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+SRCDIR := $(shell pwd)
+NAME := $(shell basename $(SRCDIR))
+include ../../../common/Makefile
+
diff --git a/php-sabredav-Sabre_VObject.spec b/php-sabredav-Sabre_VObject.spec
index c11c935..7543f13 100644
--- a/php-sabredav-Sabre_VObject.spec
+++ b/php-sabredav-Sabre_VObject.spec
@@ -7,10 +7,12 @@ Version: 1.3.5
Release: 2%{?dist}
Summary: An intuitive reader for iCalendar and vCard objects
+Group: Development/Libraries
License: BSD
URL: http://code.google.com/p/sabredav
Source0: http://pear.sabredav.org/get/%{pear_name}-%{version}.tgz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php-pear(PEAR)
BuildRequires: php-channel(%{channelname})
@@ -18,7 +20,6 @@ BuildRequires: php-channel(%{channelname})
Requires(post): %{__pear}
Requires(postun): %{__pear}
-Requires: php-common >= 5
Requires: php-mbstring
Requires: php-pear(PEAR)
Requires: php-channel(%{channelname})
@@ -43,7 +44,7 @@ cd %{pear_name}-%{version}
%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}.xml
# Clean up unnecessary files
-rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
+rm -rf $RPM_BUILD_ROOT%{pear_metadir}/.??*
# Install XML package description
mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
@@ -62,12 +63,16 @@ fi
%files
+%defattr(-,root,root,-)
%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{pear_name}.xml
%{pear_phpdir}/Sabre/VObject
%changelog
+* Mon Nov 12 2012 Remi Collet <RPMS@FamilleCollet.com> 1.3.5-2
+- backport for remi repo
+
* Wed Oct 31 2012 Joseph Marrero <jmarrero@fedoraproject.org> 1.3.5-2
- specified php version as pointed out by phpci
* Tue Oct 23 2012 Joseph Marrero <jmarrero@fedoraproject.org> 1.3.5-1