!4 fix requires golang devel
Merge pull request !4 from panchenbo/master
This commit is contained in:
commit
68d0a23dc2
@ -6,7 +6,7 @@
|
||||
|
||||
Name: startdde
|
||||
Version: 5.4.0.1
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Starter of deepin desktop environment
|
||||
License: GPLv3
|
||||
URL: https://shuttle.deepin.com/cache/repos/eagle/release-candidate/RERFNS4wLjAuMzUyOA/pool/main/s/startdde/
|
||||
@ -14,7 +14,6 @@ Source0: %{name}_%{version}.orig.tar.xz
|
||||
|
||||
BuildRequires: golang jq
|
||||
BuildRequires: dde-api
|
||||
BuildRequires: dde-api-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: libX11
|
||||
BuildRequires: libX11-devel
|
||||
@ -43,9 +42,9 @@ sed -i '/polkit/s|lib|libexec|' watchdog/dde_polkit_agent.go
|
||||
sed -i '/deepin-daemon/s|lib|libexec|' utils.go session.go misc/auto_launch/*.json
|
||||
|
||||
%build
|
||||
export GOPATH=%{gopath}:%{_builddir}/%{name}-%{version}/vendor
|
||||
export GOPATH=%{_builddir}/%{name}-%{version}/vendor
|
||||
BUILD_ID="0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n')"
|
||||
%make_build GOBUILD="go build -compiler gc -ldflags \"${LDFLAGS} -B $BUILD_ID\" -a -v -x"
|
||||
%make_build GOBUILD="go build -mod=vendor -compiler gc -ldflags \"${LDFLAGS} -B $BUILD_ID\" -a -v -x"
|
||||
|
||||
%install
|
||||
%make_install
|
||||
@ -73,6 +72,9 @@ BUILD_ID="0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n')"
|
||||
/usr/lib/deepin-daemon/greeter-display-daemon
|
||||
|
||||
%changelog
|
||||
* Wed Sep 2 2020 chenbo pan <panchenbo@uniontech.com> - 5.4.0.1-3
|
||||
- fix requires golang devel
|
||||
|
||||
* Tue Aug 18 2020 chenbo pan <panchenbo@uniontech.com> - 5.4.0.1-2
|
||||
- remove golang devel
|
||||
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user