-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
4 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
NAME = yum-plugin-s3-iam | ||
VERSION = 1.1.1 | ||
VERSION = 1.1.2 | ||
RELEASE = 1 | ||
ARCH = noarch | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ | |
__email__ = "[email protected]" | ||
__copyright__ = "Copyright 2012, Julius Seporaitis" | ||
__license__ = "Apache 2.0" | ||
__version__ = "1.1.1" | ||
__version__ = "1.1.2" | ||
|
||
|
||
__all__ = ['requires_api_version', 'plugin_type', 'CONDUIT', | ||
|
@@ -130,12 +130,11 @@ def __init__(self, repoid, repo): | |
|
||
if region: | ||
self.baseurl = "https://s3-%s.amazonaws.com/%s%s" % (region, bucket, path) | ||
if 'cn-north-1' in region: | ||
self.baseurl = "https://s3.cn-north-1.amazonaws.com.cn/%s%s" % (bucket, path) | ||
else: | ||
self.baseurl = "https://%s.s3.amazonaws.com%s" % (bucket, path) | ||
|
||
if 'cn-north-1' in region: | ||
self.baseurl = "https://s3.cn-north-1.amazonaws.com.cn/%s%s" % (bucket, path) | ||
|
||
self.name = repo.name | ||
self.region = repo.region if repo.region else region | ||
self.basecachedir = repo.basecachedir | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,9 @@ rm -rf ${RPM_BUILD_ROOT} | |
/usr/lib/yum-plugins/s3iam.py* | ||
|
||
%changelog | ||
* Tue Feb 21 2017 Mathias Brossard <[email protected]> 1.1.2-1 | ||
- Fix for no-region regression introduced by cn-north-1 region support | ||
|
||
* Thu Feb 16 2017 Mathias Brossard <[email protected]> 1.1.1-1 | ||
- Add support for cn-north-1 region | ||
|
||
|