Commit 3add839 1 parent edfcf78 commit 3add839 Copy full SHA for 3add839
File tree 3 files changed +34
-2
lines changed
3 files changed +34
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.7.1 - sneaky snippets
2
+ * add snippets for some annoying to remember patterns
3
+
1
4
## 0.7.0 - careful commands
2
5
* common commands detected
3
6
* %package sections stand out
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " language-rpm-spec" ,
3
3
"main" : " ./lib/language-rpm-spec" ,
4
- "version" : " 0.7.0 " ,
4
+ "version" : " 0.7.1 " ,
5
5
"description" : " Syntax highlighting for RPM Specfiles" ,
6
6
"keyswords" : [
7
7
" rpm" ,
11
11
" specfile"
12
12
],
13
13
"engines" : {
14
- "atom" : " >=1.0.0 <2.0.0 " ,
14
+ "atom" : " >=1.0.0" ,
15
15
"node" : " *"
16
16
},
17
17
"homepage" : " http://atom.github.io" ,
Original file line number Diff line number Diff line change 13
13
# Please submit bugfixes or comments via
14
14
# https://github.com/waveclaw/language-rpm-spec/issues
15
15
#
16
+ ' .source.rpm-spec' :
17
+ ' subpackage' :
18
+ ' prefix' : ' %pack'
19
+ ' body' : """
20
+ %package $1
21
+ Group: foo
22
+ Summary: bar
23
+ %description $1
24
+ baz
25
+
26
+ %files $1
27
+ """
28
+ ' build' :
29
+ ' prefix' : ' %bld'
30
+ ' body' : """
31
+ %build
32
+ %configure
33
+ %if %{defined make_jobs}
34
+ %{make_jobs} %{?_smp_mflags}
35
+ %else
36
+ %{__make} %{?_smp_mflags}
37
+ %endif
38
+ """
39
+ ' install' :
40
+ ' prefix' : ' %inst'
41
+ ' body' : """
42
+ %install
43
+ %{__make} install DESTDIR=%{buildroot} %{?_smp_mflags}
44
+ """
You can’t perform that action at this time.
0 commit comments