summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-05-19 09:21:19 +0200
committerRemi Collet <fedora@famillecollet.com>2015-05-19 09:21:19 +0200
commit9fa3fb0c5c0cd96bf2452f68c7eedebd7280ca3a (patch)
tree43619ce9640029f142ae77e02d049a791d83f6cc
parentc53d4b0a20d70098d6a9d32bbe93eda451a28d9b (diff)
php-znerol-php-stringprep: new snapshot
-rw-r--r--php-znerol-php-stringprep.spec16
1 files changed, 9 insertions, 7 deletions
diff --git a/php-znerol-php-stringprep.spec b/php-znerol-php-stringprep.spec
index 9edb154..270184b 100644
--- a/php-znerol-php-stringprep.spec
+++ b/php-znerol-php-stringprep.spec
@@ -1,4 +1,4 @@
-# spec file for php-znerol-php-stringprep
+# remirepo/fedora spec file for php-znerol-php-stringprep
#
# Copyright (c) 2014-2015 Remi Collet
# License: CC-BY-SA
@@ -7,8 +7,9 @@
# Please, preserve the changelog entries
#
-%global gh_commit a23ef2918be09761603dd009b3ad7450620df92f
+%global gh_commit 804b0d5d81f5fc80cbd96db71ba045e90aba46c5
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
+%global gh_date 20150519
%global gh_owner znerol
%global gh_project Stringprep
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
@@ -17,13 +18,13 @@
Name: php-znerol-php-stringprep
Version: 0
-Release: 0.1.20141109git%{gh_short}%{?dist}
+Release: 0.1.%{gh_date}git%{gh_short}%{?dist}
Summary: Implementation of RFC 3454 Preparation of Internationalized Strings
Group: Development/Libraries
License: LGPLv3
URL: https://github.com/%{gh_owner}/%{gh_project}
-Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}.tar.gz
+Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -58,7 +59,6 @@ See: http://tools.ietf.org/html/rfc3454
%build
# Generate a simple autoloader
-%{_bindir}/php -d date.timezone=UTC \
%{_bindir}/phpab \
--exclude *Test.php \
--output autoload.php \
@@ -75,8 +75,7 @@ cp -pr Profile RFC3454 *php \
%check
%if %{with_tests}
%{_bindir}/phpunit \
- --bootstrap %{buildroot}%{basedir}/autoload.php \
- -d date.timezone=UTC
+ --bootstrap %{buildroot}%{basedir}/autoload.php
%else
: Test suite disabled
%endif
@@ -95,5 +94,8 @@ rm -rf %{buildroot}
%changelog
+* Tue May 19 2015 Remi Collet <remi@fedoraproject.org> - 0-0.1.20150519git804b0d5.
+- new snapshot (License PR merged)
+
* Sun Nov 9 2014 Remi Collet <remi@fedoraproject.org> - 0-0.1.20141109gita23ef29
- initial package (git snapshot) \ No newline at end of file