summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-channel-horde.spec14
1 files changed, 5 insertions, 9 deletions
diff --git a/php-channel-horde.spec b/php-channel-horde.spec
index 88e3ac2..74de153 100644
--- a/php-channel-horde.spec
+++ b/php-channel-horde.spec
@@ -1,6 +1,6 @@
# spec file for php-channel-horde
#
-# Copyright (c) 2012-2015 Nick Bebout, Remi Collet
+# Copyright (c) 2012-2018 Nick Bebout, Remi Collet
#
# License: MIT
# https://fedoraproject.org/wiki/Licensing:MIT#Modern_Style_with_sublicense
@@ -13,7 +13,7 @@
Name: %{?scl_prefix}php-channel-horde
Version: 1.0
-Release: 2%{?dist}
+Release: 12%{?dist}
Summary: Adds %{pear_channel} channel to PEAR
Group: Development/Languages
@@ -21,7 +21,6 @@ License: Public Domain
URL: http://www.horde.org/
Source0: http://%{pear_channel}/channel.xml
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: %{?scl_prefix}php-pear
@@ -45,14 +44,9 @@ from this channel to be installed.
%install
-rm -rf %{buildroot}
install -Dpm 644 %{SOURCE0} %{buildroot}%{pear_xmldir}/%{name}.xml
-%clean
-rm -rf %{buildroot}
-
-
%post
if [ $1 -eq 1 ] ; then
%{__pear} channel-add %{pear_xmldir}/%{name}.xml > /dev/null || :
@@ -68,11 +62,13 @@ fi
%files
-%defattr(-,root,root,-)
%{pear_xmldir}/%{name}.xml
%changelog
+* Sat Dec 1 2018 Remi Collet <remi@fedoraproject.org> - 1.0-12
+- cleanup
+
* Mon Sep 15 2014 Remi Collet <remi@fedoraproject.org> - 1.0-2
- allow SCL build