diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-01-08 19:05:16 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-01-08 19:05:16 +0100 |
commit | 86daa68a19f2caff321673d310c5edb9a45ea1a6 (patch) | |
tree | 3fd0feff1dfbced9c5bc4b596f927a21e45c90c4 | |
parent | 2d744898b891cd850ca289460f386ef0d106336a (diff) |
php-swift-Swift: 4.3.0
-rw-r--r-- | php-swift-Swift.spec | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/php-swift-Swift.spec b/php-swift-Swift.spec index 67c0761..0898241 100644 --- a/php-swift-Swift.spec +++ b/php-swift-Swift.spec @@ -3,7 +3,7 @@ %global pear_name Swift Name: php-swift-Swift -Version: 4.2.2 +Version: 4.3.0 Release: 1%{?dist} Summary: Free Feature-rich PHP Mailer @@ -43,27 +43,27 @@ cd %{pear_name}-%{version} %install +rm -rf %{buildroot} cd %{pear_name}-%{version} -rm -rf $RPM_BUILD_ROOT docdir -%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}.xml +%{__pear} install --nodeps --packagingroot %{buildroot} %{pear_name}.xml # Clean up unnecessary files -rm -rf $RPM_BUILD_ROOT%{pear_metadir}/.??* +rm -rf %{buildroot}%{pear_metadir}/.??* -mkdir -p $RPM_BUILD_ROOT%{pear_phpdir}/tmp -mv $RPM_BUILD_ROOT%{pear_phpdir}/*.php \ - $RPM_BUILD_ROOT%{pear_phpdir}/Swift \ - $RPM_BUILD_ROOT%{pear_phpdir}/dependency_maps \ - $RPM_BUILD_ROOT%{pear_phpdir}/tmp -mv $RPM_BUILD_ROOT%{pear_phpdir}/tmp $RPM_BUILD_ROOT%{pear_phpdir}/Swift +mkdir -p %{buildroot}%{pear_phpdir}/tmp +mv %{buildroot}%{pear_phpdir}/*.php \ + %{buildroot}%{pear_phpdir}/Swift \ + %{buildroot}%{pear_phpdir}/dependency_maps \ + %{buildroot}%{pear_phpdir}/tmp +mv %{buildroot}%{pear_phpdir}/tmp $RPM_BUILD_ROOT%{pear_phpdir}/Swift # Install XML package description -mkdir -p $RPM_BUILD_ROOT%{pear_xmldir} -install -pm 644 %{pear_name}.xml $RPM_BUILD_ROOT%{pear_xmldir} +mkdir -p %{buildroot}%{pear_xmldir} +install -pm 644 %{pear_name}.xml %{buildroot}%{pear_xmldir} %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %post @@ -84,6 +84,9 @@ fi %{pear_phpdir}/%{pear_name} %changelog +* Tue Jan 8 2013 Remi Collet <RPMS@FamilleCollet.com> - 4.3.0-1 +- upstream 4.3.0 + * Fri Oct 26 2012 Remi Collet <RPMS@FamilleCollet.com> - 4.2.2-1 - upstream 4.2.2 |