summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore8
-rw-r--r--php-PsrLog.spec17
2 files changed, 17 insertions, 8 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-PsrLog.spec b/php-PsrLog.spec
index e540812..0cca717 100644
--- a/php-PsrLog.spec
+++ b/php-PsrLog.spec
@@ -2,7 +2,7 @@
#
# Fedora spec file for php-PsrLog
#
-# Copyright (c) 2013-2016 Shawn Iwinski <shawn.iwinski@gmail.com>
+# Copyright (c) 2013-2018 Shawn Iwinski <shawn.iwinski@gmail.com>
#
# License: MIT
# http://opensource.org/licenses/MIT
@@ -12,8 +12,8 @@
%global github_owner php-fig
%global github_name log
-%global github_version 1.0.2
-%global github_commit 4ebe3a8bf773a19edfe0a84b6585ba3d401b724d
+%global github_version 1.1.0
+%global github_commit 6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd
%global composer_vendor psr
%global composer_project log
@@ -22,15 +22,13 @@
Name: php-PsrLog
Version: %{github_version}
-Release: 2%{?dist}
+Release: 1%{?dist}
Summary: Common interface for logging libraries
-Group: Development/Libraries
License: MIT
URL: http://www.php-fig.org/psr/psr-3/
Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# For tests
BuildRequires: php-cli
@@ -38,8 +36,9 @@ BuildRequires: php-cli
BuildRequires: php-composer(fedora/autoloader)
Requires: php(language) >= 5.3.0
-# phpcompatinfo requires (computed from version 1.0.1)
+# phpcompatinfo requires (computed from version 1.1.0)
Requires: php-date
+Requires: php-pcre
Requires: php-spl
# Autoloader
Requires: php-composer(fedora/autoloader)
@@ -100,7 +99,6 @@ exit(0);
%files
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc README.md
@@ -110,6 +108,9 @@ exit(0);
%changelog
+* Thu Nov 22 2018 Remi Collet <remi@remirepo.net> - 1.1.0-1
+- update to 1.1.0
+
* Fri Oct 21 2016 Remi Collet <remi@fedoraproject.org> - 1.0.2-2
- switch from symfony/class-loader to fedora/autoloader
- add minimal %%check for autoloader