-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathglite-info-update-endpoints.spec
103 lines (82 loc) · 3.57 KB
/
glite-info-update-endpoints.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
Name: glite-info-update-endpoints
Version: 4.0.1
Release: 1%{?dist}
Summary: Updates LDAP endpoints for EGI
Group: Development/Libraries
License: ASL 2.0
URL: https://github.com/EGI-Foundation/glite-info-update-endpoints
Source: %{name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rsync
BuildRequires: make
BuildRequires: python3
BuildRequires: python3-setuptools
BuildRequires: python3-rpm-macros
Requires: crontabs
Requires: python3
%description
Updates LDAP endpoints for EGI
%prep
%setup -q
%build
%install
rm -rf %{buildroot}
make install python=python3 prefix=%{buildroot}
%post
if [ ! -f /var/cache/glite/top-urls.conf ]; then
/usr/bin/glite-info-update-endpoints -c /etc/glite/glite-info-update-endpoints.conf > /var/log/glite/glite-info-update-endpoints.log 2>&1
fi
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%dir %{_sysconfdir}/glite
%dir /var/log/glite
%dir /var/cache/glite
%config(noreplace) %{_sysconfdir}/glite/glite-info-update-endpoints.conf
%{_bindir}/%{name}
%{_sysconfdir}/cron.hourly/%{name}
/var/cache/glite/%{name}
%{python3_sitelib}/glite_info_update_endpoints/
%{python3_sitelib}/glite_info_update_endpoints-*.egg-info/
%doc %{_docdir}/%{name}-%{version}/README.md
%doc %{_docdir}/%{name}-%{version}/AUTHORS.md
%license /usr/share/licenses/%{name}-%{version}/COPYRIGHT
%license /usr/share/licenses/%{name}-%{version}/LICENSE.txt
%changelog
* Fri Mar 17 2023 Baptiste Grenier <[email protected]> - 4.0.1-1
- Build using AlmaLinux 8 and 9 (#35) (Baptiste Grenier)
* Thu Dec 15 2022 Baptiste Grenier <[email protected]> - 4.0.0-1
- Quality control using GitHub actions, update community files (#33) (Baptiste Grenier)
- Migrate to Python 3 (#28) (Enol Fernandez)
* Wed Sep 23 2020 Baptiste Grenier <[email protected]> - 3.0.2-1
- Fix manual_file configuration (Baptiste Grenier)
- Enforce pylint and address issues (Baptiste Grenier, Enol Fernández, Andrea Manzi)
* Tue Nov 27 2018 Baptiste Grenier <[email protected]> - 3.0.1-1
- Make manual_file optional in the conf (Bruce Becker)
* Wed Sep 26 2018 Baptiste Grenier <[email protected]> - 3.0.0-1
- Totally drop OSG support (Baptiste Grenier)
- Test and build using Travis, fix sytle (Baptiste Grenier)
* Mon Aug 27 2018 Baptiste Grenier <[email protected]> - 2.0.14-1
- Updated OSG URL (vokac)
- Bug GitHub #1: Silent fail on CentOS 7 when not able to validate GOCDB certificate (vokac)
- Update build, documetation and link to new GitHub repository (Baptiste Grenier)
* Thu Aug 01 2013 Maria Alandes <[email protected]> - 2.0.13-1
- Updated URL
- BUG #99322: Error when manual file does not exist
* Wed Apr 24 2013 Maria Alandes <[email protected]> - 2.0.12-2
- Added Source URL information
* Wed Nov 21 2012 Maria Alandes <[email protected]> - 2.0.12-1
- BUG #98983: Improve error handling in glite-info-update-endpoints
* Tue Sep 11 2012 Maria Alandes <[email protected]> - 2.0.11-1
- BUG #96484: Fixed post install actions
- BUG #97395: Fixed rpmlint errors
* Fri May 25 2012 Laurence Field <[email protected]> - 2.0.10-1
- Changed the location of top-urls.conf to address GGUS #73823
* Thu Apr 19 2012 Laurence Field <[email protected]> - 2.0.9-1
- Added random sleep to cronjob to address GGUS #81404
* Mon Mar 28 2011 Laurence Field <[email protected]> - 2.0.8-1
- Addressed IS-228
* Fri Aug 20 2010 Laurence Field <[email protected]> - 2.0.3-1
- Refactored version that queries the GOCs directly