diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-07-08 20:16:37 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-07-08 20:16:37 +0200 |
commit | d49083cd297e6d152e2ba21da2d48dceec975695 (patch) | |
tree | 01fc7f1f7d9e884d9c796b3e2336bd6c7d25dd12 /php-horde-Horde-Core.spec | |
parent | 3dc08f5b02489b989d430aaaa04de828161a143c (diff) |
php-horde-Horde-Core: add upstream patch
Diffstat (limited to 'php-horde-Horde-Core.spec')
-rw-r--r-- | php-horde-Horde-Core.spec | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/php-horde-Horde-Core.spec b/php-horde-Horde-Core.spec index dcf4c65..d4f8038 100644 --- a/php-horde-Horde-Core.spec +++ b/php-horde-Horde-Core.spec @@ -20,6 +20,9 @@ License: LGPLv2 URL: http://pear.horde.org Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz +# upstream patch +Patch0: %{pear_name}-git.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: gettext @@ -173,6 +176,8 @@ Framework. %setup -q -c cd %{pear_name}-%{version} +%patch0 -p3 -b .upstream + # Don't install .po and .pot files # Don't install prototype, scriptaculous, use system one # Remove checksum for .mo, as we regenerate them @@ -181,6 +186,7 @@ sed -e '/%{pear_name}.po/d' \ -e '/js\/scriptaculous/d' \ -e '/LICENSE/s/role="horde"/role="doc"/' \ -e '/%{pear_name}.mo/s/md5sum=.*name=/name=/' \ + -e '/Config.php/s/md5sum=.*name=/name=/' \ ../package.xml >%{name}.xml touch -r ../package.xml %{name}.xml |