forked from opensciencegrid/topology
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request opensciencegrid#1953 from matyasselmeci/pr/SOFTWAR…
…E-4704.cacher Topology Cacher (SOFTWARE-4704)
- Loading branch information
Showing
5 changed files
with
601 additions
and
2 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,32 +1,55 @@ | ||
%define __python /usr/bin/python3 | ||
|
||
Summary: Client tools for OSG Topology | ||
Name: topology-client | ||
Version: 1.4.6 | ||
Release: 1%{?dist} | ||
Version: 1.8.0 | ||
Release: 0.1%{?dist} | ||
Source: topology-%{version}.tar.gz | ||
License: Apache 2.0 | ||
BuildArch: noarch | ||
Url: https://github.com/opensciencegrid/topology/ | ||
Requires: python-gnupg | ||
Requires: python-requests | ||
|
||
|
||
%description | ||
Client tools that interact with OSG Topology data | ||
|
||
|
||
%package -n topology-cacher | ||
Summary: A utility for periodically downloading OSG Topology data | ||
|
||
%description -n topology-cacher | ||
A utility for periodically downloading OSG Topology data. | ||
|
||
|
||
%prep | ||
%setup -q -n topology-%{version} | ||
|
||
%install | ||
install -D -m 0755 bin/osg-notify %{buildroot}/%{_bindir}/osg-notify | ||
install -D -m 0644 src/net_name_addr_utils.py %{buildroot}/%{python_sitelib}/net_name_addr_utils.py | ||
install -D -m 0644 src/topology_utils.py %{buildroot}/%{python_sitelib}/topology_utils.py | ||
install -D -m 0755 src/topology_cacher.py %{buildroot}/%{python_sitelib}/topology_cacher.py | ||
install -D -m 0644 topology-cacher.cron %{buildroot}/etc/cron.d/topology-cacher.cron | ||
|
||
%files | ||
%{_bindir}/osg-notify | ||
%{python_sitelib}/net_name_addr_utils.py* | ||
%{python_sitelib}/topology_utils.py* | ||
%{python_sitelib}/__pycache__/net_name_addr_utils* | ||
%{python_sitelib}/__pycache__/topology_utils* | ||
|
||
%files -n topology-cacher | ||
%{python_sitelib}/topology_cacher.py* | ||
%{python_sitelib}/__pycache__/topology_cacher* | ||
%config(noreplace) /etc/cron.d/topology-cacher.cron | ||
|
||
|
||
%changelog | ||
* Mon Aug 16 2021 Mátyás Selmeci <[email protected]> 1.8.0-0.1 | ||
- Add topology-cacher (SOFTWARE-4704) | ||
|
||
* Thu Mar 18 2021 Mátyás Selmeci <[email protected]> 1.4.6-1 | ||
- Fix crash when writing unsigned messages (SOFTWARE-4538) | ||
|
||
|
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
Oops, something went wrong.