代码拉取完成,页面将自动刷新
%define anolis_release .0.3
# Run tests in check section
# disable for bootstrapping
%bcond_with check
%global pkgname github.com/linuxdeepin/go-dbus-factory
#2020-04-26增加%global with_debug 1
%global with_debug 1
%if 0%{?with_debug}
%global debug_package %{nil}
%endif
Name: golang-github-linuxdeepin-go-dbus-factory
Version: 1.9.44
Release: 2%{anolis_release}%{?dist}
Summary: GO DBus factory for Deepin Desktop Environment
License: GPLv3
URL: %{gourl}
Source0: %{name}-%{version}.tar.gz
BuildRequires: compiler(go-compiler)
BuildRequires: go-srpm-macros
%description
%{summary}.
%package -n %{name}-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}-devel
%{summary}.
%prep
%forgeautosetup
%install
install -d -p %{buildroot}%{gopath}/src/%{pkgname}/
for file in $(find . -iname "*.go" | grep -v "_tool") ; do
install -d -p %{buildroot}%{gopath}/src/%{pkgname}/$(dirname $file)
cp -pav $file %{buildroot}%{gopath}/src/%{pkgname}/$file
echo "%%{gopath}/src/%%{pkgname}/$file" >> devel.file-list
done
cp -pav README.md %{buildroot}%{gopath}/src/%{pkgname}/README.md
cp -pav CHANGELOG.md %{buildroot}%{gopath}/src/%{pkgname}/CHANGELOG.md
echo "%%{gopath}/src/%%{pkgname}/README.md" >> devel.file-list
echo "%%{gopath}/src/%%{pkgname}/CHANGELOG.md" >> devel.file-list
%if %{with check}
%check
%gochecks
%endif
%files -n %{name}-devel -f devel.file-list
%doc README.md CHANGELOG.md
%changelog
* Fri Jan 12 2024 yangxianzhao <yangxianzhao@uniontech.com> - 1.9.44-2.0.3
- rebuild for qt5-qtbase
* Wed Sep 20 2023 yangxianzhao <yangxianzhao@uniontech.com> - 1.9.44-2.0.2
- rebuild for qt5-qtbase-5.15.3
* Wed Jul 12 2023 yangxianzhao <yangxianzhao@uniontech.com> - 1.9.44-2.0.1
- rebuild for anolis 8.9
* Thu Jul 21 2022 liuxingwei liuxingwei@uniontech.com - 1.9.44-2
- rebuild for an8.6
* Thu Nov 18 2021 huzhengming <huzhengming@uniontech.com> - 1.9.44-1
- Update to 1.9.44
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。