Skip to content

Commit

Permalink
php-horde-Horde-Text-Filter: 2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Feb 12, 2013
1 parent bbf18cf commit a78d06d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 43 deletions.
6 changes: 2 additions & 4 deletions php/horde/order
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
pear.horde.org Horde_Test 2.1.0 (stable) 2.2.0 (stable) 19.9kB
pear.horde.org Horde_Text_Filter 2.0.4 (stable) 2.0.5 (stable) 51kB
pear.horde.org Horde_Util 2.0.3 (stable) 2.1.0 (stable) 32kB
pear.horde.org Horde_View 2.0.1 (stable) 2.0.2 (stable) 43kB
pear.horde.org content 2.0.1 (stable) 2.0.2 (stable) 21kB
Expand All @@ -19,7 +17,7 @@ pear.horde.org content 2.0.1 (stable) 2.0.2 (stable) 21kB
13 php-horde-Horde-Thrift = 2.0.1
14 php-horde-Horde-Scribe = 2.0.1 => Thrift
15 php-horde-Horde-Log = 2.0.1 => Constraint, Exception, Scribe
16 php-horde-Horde-Test = 2.1.0 => Support, Util, Cli, Log
16 php-horde-Horde-Test = 2.2.0 => Support, Util, Cli, Log
17 php-horde-Horde-Image ? 2.0.3 => Exception, Support, Translation, Util
18 php-horde-Horde-Browser = 2.0.3 => Exception, Util
19 php-horde-Horde-Lock ? 2.0.1 => Exception, Support, (Db, Log)
Expand All @@ -38,7 +36,7 @@ pear.horde.org content 2.0.1 (stable) 2.0.2 (stable) 21kB
31 php-horde-Horde-Xml-Element = 2.0.1 => Exception
32 php-horde-Horde-Alarm ? 2.0.3 => BR(Date), Date, Exception, Translation
33 php-horde-Horde-Text-Diff = 2.0.1 => Exception, Util
34 php-horde-Horde-Text-Filter * 2.0.4 => BR(Text-Flowed), Exception, Util, Text_Flowed, Translation
34 php-horde-Horde-Text-Filter * 2.0.5 => BR(Text-Flowed), Exception, Util, Text_Flowed, Translation
35 php-horde-Horde-Group ? 2.0.1 => BR(Db), Exception, Util
36 php-horde-Horde-Tree * 2.0.1 => Exception, Url, Util
37 php-horde-Horde-Injector * 2.0.1 => Exception
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,19 @@
%global pear_channel pear.horde.org

Name: php-horde-Horde-Text-Filter
Version: 2.0.4
Release: 3%{?dist}
Version: 2.0.5
Release: 1%{?dist}
Summary: Horde Text Filter API

Group: Development/Libraries
License: LGPLv2+
URL: http://pear.horde.org
# remove non-free stuff
# http://bugs.horde.org/ticket/11870
# pear download Horde_Text_Filter
# pear download horde/Horde_Text_Filter
# ./strip.sh %{version}
Source0: %{pear_name}-%{version}-strip.tgz
Source1: strip.sh
# http://bugs.horde.org/ticket/11943
Patch0: %{pear_name}-php55.patch

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
Expand Down Expand Up @@ -58,15 +56,11 @@ Common methods for fitering and converting text.
%setup -q -c
cd %{pear_name}-%{version}

%patch0 -p0 -b .php55

# Don't install .po and .pot files
# Remove checksum for .mo, as we regenerate them
sed -e '/%{pear_name}.po/d' \
-e '/Horde_Other.po/d' \
-e '/%{pear_name}.mo/s/md5sum=.*name=/name=/' \
-e '/Emails.php/s/md5sum=.*name=/name=/' \
-e '/Linkurls.php/s/md5sum=.*name=/name=/' \
../package.xml >%{name}.xml


Expand Down Expand Up @@ -105,14 +99,11 @@ done | tee ../%{pear_name}.lang
src=$(pwd)/%{pear_name}-%{version}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)

# Skip this one for now - need investigation
sed -e 's/testHtml2TextSpacing/SKIP_testHtml2TextSpacing/' \
-i Html2textTest.php
# Skip this one for now - need investigation (failed only in mock)
sed -e 's/testXss/SKIP_testXss/' \
-i XssTest.php

# Can't work as we drop this now free stuff
# Can't work as we drop this non free stuff
rm -f JsminTest.php

phpunit \
Expand Down Expand Up @@ -148,6 +139,9 @@ fi


%changelog
* Tue Feb 12 2013 Remi Collet <remi@fedoraproject.org> - 2.0.5-1
- Update to 2.0.5

* Wed Feb 6 2013 Remi Collet <remi@fedoraproject.org> - 2.0.4-3
- cleanups for review
- always run tests but skip 2 for now
Expand Down

0 comments on commit a78d06d

Please sign in to comment.