Skip to content

Commit 7d008c6

Browse files
committed
[php-robrichards-xmlseclibs1] Updated to latest 1.4 snapshot
- Moved php-openssl from weak dependency to hard dependency - Added php-mcrypt weak dependency and added information to %description about when it is required
1 parent 03ebf14 commit 7d008c6

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

php-robrichards-xmlseclibs1/php-robrichards-xmlseclibs1.spec

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
%global github_owner robrichards
1313
%global github_name xmlseclibs
1414
%global github_version 1.4.1
15-
%global github_commit 465f18a8e1196c279b1298a3b08bcbee71ea4e4e
15+
%global github_commit 2e20c8d1d01c806a02e7ac2bc3b2bee00bdb514a
16+
%global github_release .20160518git%(c=%{github_commit}; echo ${c:0:7})
1617

1718
%global composer_vendor robrichards
1819
%global composer_project xmlseclibs
@@ -27,7 +28,7 @@
2728

2829
Name: php-%{composer_vendor}-%{composer_project}1
2930
Version: %{github_version}
30-
Release: 1%{?github_release}%{?dist}
31+
Release: 2%{?github_release}%{?dist}
3132
Summary: A PHP library for XML Security (version 1)
3233

3334
Group: Development/Libraries
@@ -44,7 +45,7 @@ BuildRequires: php(language) >= %{php_min_ver}
4445
## composer.json: optional
4546
BuildRequires: php-mcrypt
4647
BuildRequires: php-openssl
47-
## phpcompatinfo (computed from version 1.4.1)
48+
## phpcompatinfo (computed from version 1.4.1 commit 2e20c8d1d01c806a02e7ac2bc3b2bee00bdb514a)
4849
BuildRequires: php-dom
4950
BuildRequires: php-hash
5051
## Autoloader
@@ -53,15 +54,16 @@ BuildRequires: php-composer(theseer/autoload)
5354

5455
# composer.json
5556
Requires: php(language) >= %{php_min_ver}
56-
# phpcompatinfo (computed from version 1.4.1)
57+
# composer.json: suggest
58+
Requires: php-openssl
59+
# phpcompatinfo (computed from version 1.4.1 commit 2e20c8d1d01c806a02e7ac2bc3b2bee00bdb514a)
5760
Requires: php-dom
5861
Requires: php-hash
5962

6063
# Weak dependencies
6164
%if 0%{?fedora} >= 21
6265
## composer.json: suggest
63-
#Suggests: php-mcrypt
64-
Suggests: php-openssl
66+
Suggests: php-mcrypt
6567
%endif
6668

6769
# Composer
@@ -72,6 +74,14 @@ Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version}
7274
xmlseclibs is a library written in PHP for working with XML Encryption and
7375
Signatures.
7476

77+
NOTE: php-mcrypt will not be automatically installed as a dependency of this
78+
package so it will need to be "manually" installed if it is required --
79+
specifically for the following XMLSecurityKey encryption types:
80+
- XMLSecurityKey::AES128_CBC
81+
- XMLSecurityKey::AES192_CBC
82+
- XMLSecurityKey::AES256_CBC
83+
- XMLSecurityKey::TRIPLEDES_CBC
84+
7585
Autoloader: %{phpdir}/robrichards-xmlseclibs/autoload.php
7686

7787

@@ -115,5 +125,11 @@ rm -f tests/extract-win-cert.phpt
115125

116126

117127
%changelog
128+
* Thu Jul 14 2016 Shawn Iwinski <shawn@iwin.ski> - 1.4.1-2.20160518git2e20c8d
129+
- Updated to latest 1.4 snapshot
130+
- Moved php-openssl from weak dependency to hard dependency
131+
- Added php-mcrypt weak dependency and added information to %%description about
132+
when it is required
133+
118134
* Sun Jul 10 2016 Shawn Iwinski <shawn@iwin.ski> - 1.4.1-1
119135
- Initial package

0 commit comments

Comments
 (0)