summaryrefslogtreecommitdiffstats
path: root/php-fedora-autoloader.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-10-21 15:13:08 +0200
committerRemi Collet <fedora@famillecollet.com>2016-10-21 15:13:08 +0200
commit6b9c01439a5cb45d57b6f39cf347851b7310aa0f (patch)
tree0090e0c4ba2af28c6091000b9500a378f9acd7e0 /php-fedora-autoloader.spec
parent68de1a7b8c6c1bc72a59643845d815cc8019ace8 (diff)
test build with patch from PR #6 (fix addPsr0)
Diffstat (limited to 'php-fedora-autoloader.spec')
-rw-r--r--php-fedora-autoloader.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-fedora-autoloader.spec b/php-fedora-autoloader.spec
index b0e1fad..0e7e6a1 100644
--- a/php-fedora-autoloader.spec
+++ b/php-fedora-autoloader.spec
@@ -33,7 +33,7 @@
Name: php-%{composer_vendor}-%{composer_project}
Version: %{github_version}
-Release: 1%{?github_release}%{?dist}
+Release: 2%{?github_release}%{?dist}
Summary: Fedora Autoloader
Group: Development/Libraries
@@ -41,6 +41,8 @@ License: MIT
URL: https://github.com/%{github_owner}/%{github_name}
Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz
+Patch0: %{name}-upstream.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Tests
@@ -91,6 +93,8 @@ Provides needed tools to build other packages:
%prep
%setup -qn %{github_name}-%{github_commit}
+%patch0 -p1 -b .pr6
+
: Set PHP directory in phpab template
sed "s#___AUTOLOAD_PATH___#'%{phpdir}/Fedora/Autoloader'#" \
-i res/phpab/fedora.php.tpl
@@ -158,6 +162,9 @@ rm -rf %{buildroot}
%changelog
+* Fri Oct 21 2016 Remi Collet <remi@remirepo.net> - 0.1.1-2
+- test build for PR #6
+
* Thu Oct 20 2016 Remi Collet <remi@remirepo.net> - 0.1.1-1
- add backport stuff