summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-11-06 11:48:36 +0100
committerRemi Collet <remi@remirepo.net>2017-11-06 11:48:36 +0100
commit1b7cd82e94bc8bf130826a7effceb3c1c1a62fae (patch)
treef42753d0749c4956ee608e4fdc42134397a974cd
parent9b0c42900277b9a7a08d4cd0f47ca554430f232e (diff)
fix #87 bad dependency on php-spl
-rw-r--r--.gitignore8
-rw-r--r--php-pecl-spl-types.spec13
2 files changed, 12 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..fc9aa8c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+clog
+package-*.xml
+*.tgz
+*.tar.gz
+*.tar.xz
+*.tar.xz.asc
+*.src.rpm
+*/*rpm
diff --git a/php-pecl-spl-types.spec b/php-pecl-spl-types.spec
index 30273f2..d2e4c2c 100644
--- a/php-pecl-spl-types.spec
+++ b/php-pecl-spl-types.spec
@@ -20,7 +20,7 @@
Summary: Standard PHP Library, Types Addon
Name: %{?scl_prefix}php-pecl-spl-types
Version: 0.4.0
-Release: 7%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 8%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
@@ -30,7 +30,6 @@ Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
# Link from the headers
Source1: http://www.php.net/license/3_01.txt
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-spl
@@ -137,8 +136,6 @@ make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make -C NTS install INSTALL_ROOT=%{buildroot}
# install config file
@@ -211,12 +208,7 @@ REPORT_EXIT_STATUS=1 \
%endif
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%{?_licensedir:%license NTS/LICENSE}
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml
@@ -231,6 +223,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Nov 6 2017 Remi Collet <remi@fedoraproject.org> - 0.4.0-8
+- rebuild to fix gh#87 bad dependency on php-spl
+
* Tue Mar 8 2016 Remi Collet <remi@fedoraproject.org> - 0.4.0-7
- adapt for F24
- drop runtime dependency on pear, new scriptlets