summaryrefslogtreecommitdiffstats
path: root/php-fedora-autoloader.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-10-26 16:23:50 +0200
committerRemi Collet <fedora@famillecollet.com>2016-10-26 16:23:50 +0200
commit2e72749cdba0e45608f0000fd040ab8652f7eb21 (patch)
tree8ccba1d7d056c6abce7bc47e534fec8bacfdb818 /php-fedora-autoloader.spec
parent854589a6fac819c6a655df6a1b3d84df608d2d3d (diff)
php-fedora-autoloader: 0.2.0 (backport from Fedora)
Diffstat (limited to 'php-fedora-autoloader.spec')
-rw-r--r--php-fedora-autoloader.spec18
1 files changed, 9 insertions, 9 deletions
diff --git a/php-fedora-autoloader.spec b/php-fedora-autoloader.spec
index d49a048..e5a02a7 100644
--- a/php-fedora-autoloader.spec
+++ b/php-fedora-autoloader.spec
@@ -13,8 +13,8 @@
%global github_owner php-fedora
%global github_name autoloader
-%global github_version 0.1.2
-%global github_commit 35f7b52f4682276620369bc4bc1a3a5fef93faad
+%global github_version 0.2.0
+%global github_commit acadcf9f2511ac7b777117eb66728f95faabbe99
%global composer_vendor fedora
%global composer_project autoloader
@@ -33,7 +33,7 @@
Name: php-%{composer_vendor}-%{composer_project}
Version: %{github_version}
-Release: 3%{?github_release}%{?dist}
+Release: 1%{?github_release}%{?dist}
Summary: Fedora Autoloader
Group: Development/Libraries
@@ -41,8 +41,6 @@ License: MIT
URL: https://github.com/%{github_owner}/%{github_name}
Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz
-Patch0: %{name}.patch
-
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Tests
@@ -52,13 +50,13 @@ BuildRequires: php(language) >= %{php_min_ver}
BuildRequires: php-composer(phpunit/phpunit)
BuildRequires: php-composer(theseer/autoload) >= %{phpab_min_ver}
BuildRequires: php-pear
-## phpcompatinfo (computed from version 0.1.0)
+## phpcompatinfo (computed from version 0.2.0)
BuildRequires: php-spl
%endif
# composer.json
Requires: php(language) >= %{php_min_ver}
-# phpcompatinfo (computed from version 0.1.0)
+# phpcompatinfo (computed from version 0.2.0)
Requires: php-spl
# Composer
@@ -94,8 +92,6 @@ Provides needed tools to build other packages:
%prep
%setup -qn %{github_name}-%{github_commit}
-%patch0 -p1 -b .upstream
-
: Set PHP directory in phpab template
sed "s#___AUTOLOAD_PATH___#'%{phpdir}/Fedora/Autoloader'#" \
-i res/phpab/fedora.php.tpl
@@ -170,6 +166,10 @@ rm -rf %{buildroot}
%changelog
+* Wed Oct 26 2016 Shawn Iwinski <shawn@iwin.ski> - 0.2.0-1
+- Update to 0.2.0
+- Remove applied patches that are included in 0.2.0
+
* Tue Oct 25 2016 Remi Collet <remi@fedoraproject.org> - 0.1.2-3
- rename 1 method to avoid conflicts with symfony