forked from drogue-iot/drg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrust-drg.spec
74 lines (57 loc) · 2.03 KB
/
rust-drg.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
# Generated by rust2rpm 16
%bcond_without check
%global __cargo_skip_build 0
%global crate drg
Name: rust-%{crate}
Version: 0.4.1
Release: 1.20210406114535497168.main.19.ga7278ba%{?dist}
Summary: Command line tool to interact with a drogue-cloud instance
# Upstream license specification: Apache-2.0
License: ASL 2.0
URL: https://crates.io/crates/drg
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description %{expand:
Command line tool to interact with a drogue-cloud instance.}
%description %{_description}
%package -n %{crate}
Summary: %{summary}
%description -n %{crate} %{_description}
%files -n %{crate}
%doc README.md
%{_bindir}/drg
%prep
%autosetup -p1 -n %{crate}-%{version}
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Tue Apr 06 2021 Jens Reimann <[email protected]> - 0.3.0-1.20210406114535497168.main.19.ga7278ba
- Drop github actions snap workflow (Jens Reimann)
- workflow name (Jean-Baptiste Trystram)
- do snap build only on tags. Fixes #36 (Jean-Baptiste Trystram)
- merge update and edit and use the file flag as differenciator (Jean-Baptiste Trystram)
- update doc (Jean-Baptiste Trystram)
- added update subcommand to load json file (Jean-Baptiste Trystram)
- rename artifact to match published snap file name (Jean-Baptiste Trystram)
- fix snap file path (Jean-Baptiste Trystram)
- Fix reference (Jens Reimann)
- Set id for build step (Jens Reimann)
- Try different syntax (Jens Reimann)
- Automatically publish (Jens Reimann)
- experiment with snaps (Jens Reimann)
- Create parent directory of configuration if it doesn't exists (Jens Reimann)
- update Cargo.lock (Jens Reimann)
- add the actual Cargo.lock (Jens Reimann)
- commit Cargo.lock as this is a binary (Jens Reimann)
- make use of the default app setting (Jean-Baptiste Trystram)
- Automatic browser open to login (#28) (Vedang Joshi)