]> git.pld-linux.org Git - packages/dotproject.git/commitdiff
- added system-PEAR.patch (use system PEAR)
authorAdam Gołębiowski <adamg@pld-linux.org>
Mon, 20 Oct 2003 08:28:06 +0000 (08:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- R: php-pear-Date
- don't distribute Date class bundled with the package

Changed files:
    dotproject.spec -> 1.2

dotproject.spec

index 4256ff3fe2d66901047074ebb7645cf62bed1063..e72edf6e158f5829c7cf36858618af581e18e02f 100644 (file)
@@ -1,5 +1,5 @@
 # TODO:
-# - use system PEAR
+# - use system PEAR [ done, needs tests]
 # - add lang packs from http://sourceforge.net/projects/dotmods/
 # - check if it works at all...
 #
@@ -11,9 +11,11 @@ License:     BSD
 Group:         Applications/WWW
 Source0:       http://dl.sourceforge.net/dotproject/%{name}_%{version}.tar.gz
 # Source0-md5: 7387852573613bb6d4fc4e592b76c69a
+Patch0:                %{name}-system_PEAR.patch
 URL:           http://sourceforge.net/projects/dotproject/
 Requires:      php-gd
 Requires:      php-mysql
+Requires:      php-pear-Date
 Requires:      webserver
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -28,6 +30,7 @@ user/module permissions and themes
 
 %prep
 %setup -q -n %{name}
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -55,6 +58,9 @@ rm $RPM_BUILD_ROOT%{_phpdir}/includes/config-dist.php
 install includes/config-dist.php $RPM_BUILD_ROOT%{_sysconfdir}/httpd/%{name}/config.php
 ln -s %{_sysconfdir}/httpd/%{name}/config.php $RPM_BUILD_ROOT%{_phpdir}/includes/config.php
 
+# and remove PEAR's Date class that comes with the archive
+rm -rf $RPM_BUILD_ROOT%{_phpdir}/lib/PEAR
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.081741 seconds and 4 git commands to generate.