代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/gala-ragdoll 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: gala-ragdoll
Version: v1.4.1
Release: 4
Summary: Configuration traceability
License: MulanPSL2
URL: https://gitee.com/openeuler/%{name}
Source0: %{name}-%{version}.tar.gz
Patch0001: 0001-fix-text-file-sync-bug.patch
Patch0002: 0002-deal-request-connection-error.patch
Patch0003: 0003-conf-trace-info-and-conf-sync-optimize.patch
%global debug_package %{nil}
BuildRequires: python3-setuptools python3-connexion python3-werkzeug python3-libyang
BuildRequires: git python3-devel systemd python3-concurrent-log-handler
Requires: python3-gala-ragdoll = %{version}-%{release} python3-concurrent-log-handler
%description
An os-level configuration management service
%package -n python3-gala-ragdoll
Summary: python3 pakcage of gala-ragdoll
Requires: python3-flask-testing python3-libyang git
Requires: python3-werkzeug python3-connexion python3-swagger-ui-bundle
%description -n python3-gala-ragdoll
python3 pakcage of gala-ragdoll
%prep
%autosetup -n %{name}-%{version} -p1
%build
#build for gala-ragdoll
%py3_build
%install
#install for gala-ragdoll
%py3_install
install yang_modules/*.yang %{buildroot}/%{python3_sitelib}/yang_modules/
mkdir -p %{buildroot}/%{_sysconfdir}/ragdoll
install config/*.conf %{buildroot}/%{_sysconfdir}/ragdoll/
mkdir %{buildroot}/%{python3_sitelib}/ragdoll/config
install config/*.conf %{buildroot}/%{python3_sitelib}/ragdoll/config
mkdir -p %{buildroot}/%{_prefix}/lib/systemd/system
install service/gala-ragdoll.service %{buildroot}/%{_prefix}/lib/systemd/system
install service/ragdoll-filetrace.service %{buildroot}/%{_prefix}/lib/systemd/system
install service/ragdoll %{buildroot}/%{_prefix}/bin/
install service/ragdoll-filetrace %{buildroot}/%{_prefix}/bin/
%pre
if [ -f "%{systemd_dir}/gala-ragdoll.service" ] ; then
systemctl enable gala-ragdoll.service || :
fi
%post
%systemd_post gala-ragdoll.service
%preun
%systemd_preun gala-ragdoll.service
%postun
%systemd_postun gala-ragdoll.service
%files
%doc doc/*
%license LICENSE
/%{_sysconfdir}/ragdoll/gala-ragdoll.conf
%{_bindir}/ragdoll
%{_prefix}/lib/systemd/system/gala-ragdoll.service
%{_prefix}/lib/systemd/system/ragdoll-filetrace.service
%{_prefix}/bin/ragdoll
%files -n python3-gala-ragdoll
%{python3_sitelib}/ragdoll/*
%{python3_sitelib}/yang_modules
%{python3_sitelib}/ragdoll-*.egg-info
%{_prefix}/bin/ragdoll-filetrace
%changelog
* Mon Jul 01 2024 smjiao<[email protected]> - v1.4.1-4
- conf sync optimize and add file trace interface
* Thu Nov 9 2023 smjiao<[email protected]> - v1.4.1-3
- deal request connection error
* Wed Nov 8 2023 smjiao<[email protected]> - v1.4.1-2
- fix text file sync bug
* Wed Oct 25 2023 zhangdaolong<[email protected]> - v1.4.1-1
- gala-ragdoll src init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。