summaryrefslogtreecommitdiffstats
path: root/php-channel-swift.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-07-05 07:44:44 +0200
committerRemi Collet <fedora@famillecollet.com>2013-07-05 07:44:44 +0200
commit5675bbd76139cbb490ce78597cc5123621be0e9d (patch)
treeb8ddec66ad306f4e1aad1cea52598a9ed30da50f /php-channel-swift.spec
parent6fa1d4ef0880a327b735a6804376cfad4145b770 (diff)
php-channel-swift: refresh
Diffstat (limited to 'php-channel-swift.spec')
-rw-r--r--php-channel-swift.spec18
1 files changed, 11 insertions, 7 deletions
diff --git a/php-channel-swift.spec b/php-channel-swift.spec
index a2e94f7..c9925e5 100644
--- a/php-channel-swift.spec
+++ b/php-channel-swift.spec
@@ -2,19 +2,19 @@
Name: php-channel-swift
Version: 1.3
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Adds swift mailer project channel to PEAR
Group: Development/Languages
License: LGPLv3
URL: http://www.swiftmailer.org/
Source0: http://pear.swiftmailer.org/channel.xml
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: php-pear >= 1:1.4.9-1.2
-Requires: php-pear(PEAR)
+BuildRequires: php-pear
+Requires: php-pear(PEAR)
Requires(post): %{__pear}
Requires(postun): %{__pear}
@@ -34,14 +34,15 @@ PEAR packages from this channel to be installed.
%install
-%{__rm} -rf $RPM_BUILD_ROOT
-%{__mkdir_p} $RPM_BUILD_ROOT%{pear_xmldir}
-%{__install} -pm 644 %{SOURCE0} $RPM_BUILD_ROOT%{pear_xmldir}/%{name}.xml
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
+install -pm 644 %{SOURCE0} $RPM_BUILD_ROOT%{pear_xmldir}/%{name}.xml
%clean
%{__rm} -rf $RPM_BUILD_ROOT
+
%post
if [ $1 -eq 1 ] ; then
%{__pear} channel-add %{pear_xmldir}/%{name}.xml > /dev/null || :
@@ -62,6 +63,9 @@ fi
%changelog
+* Fri Jul 5 2013 Remi Collet <remi@fedoraproject.org> - 1.3-7
+- refresh channel.xml
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild