simp-rake-helpers 5.1.4 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/lib/simp/componentinfo.rb +227 -0
- data/lib/simp/rake/helpers/version.rb +1 -1
- data/lib/simp/rake/pkg.rb +115 -0
- data/lib/simp/rake/pupmod/helpers.rb +2 -2
- data/lib/simp/relchecks.rb +172 -0
- data/lib/simp/rpm.rb +2 -0
- data/spec/acceptance/nodesets/default.yml +2 -0
- data/spec/acceptance/pkg_rpm_spec.rb +42 -133
- data/spec/lib/simp/componentinfo_changelog_regex_spec.rb +120 -0
- data/spec/lib/simp/componentinfo_spec.rb +278 -0
- data/spec/lib/simp/files/componentinfo_spec/asset_missing_release/build/asset_missing_release.spec +36 -0
- data/spec/lib/simp/files/componentinfo_spec/asset_missing_version/build/asset_missing_version.spec +36 -0
- data/spec/lib/simp/files/componentinfo_spec/asset_with_dist_in_release/build/asset_with_dist_in_release.spec +31 -0
- data/spec/lib/simp/files/componentinfo_spec/asset_with_multiple_packages/build/asset_with_multiple_packages.spec +64 -0
- data/spec/lib/simp/files/componentinfo_spec/asset_with_single_package/build/asset_with_single_package.spec +37 -0
- data/spec/lib/simp/files/componentinfo_spec/asset_with_two_spec_files/build/asseta.spec +43 -0
- data/spec/lib/simp/files/componentinfo_spec/asset_with_two_spec_files/build/assetb.spec +43 -0
- data/spec/lib/simp/files/componentinfo_spec/asset_without_spec_file/build/README +1 -0
- data/spec/lib/simp/files/componentinfo_spec/module/CHANGELOG +14 -0
- data/spec/lib/simp/files/componentinfo_spec/module/metadata.json +44 -0
- data/spec/lib/simp/files/componentinfo_spec/module_missing_version_metadata/CHANGELOG +14 -0
- data/spec/lib/simp/files/componentinfo_spec/module_missing_version_metadata/metadata.json +43 -0
- data/spec/lib/simp/files/componentinfo_spec/module_with_date_misordered_entries/CHANGELOG +14 -0
- data/spec/lib/simp/files/componentinfo_spec/module_with_date_misordered_entries/metadata.json +44 -0
- data/spec/lib/simp/files/componentinfo_spec/module_with_invalid_entries/CHANGELOG +8 -0
- data/spec/lib/simp/files/componentinfo_spec/module_with_invalid_entries/metadata.json +44 -0
- data/spec/lib/simp/files/componentinfo_spec/module_with_invalid_weekday_entry/CHANGELOG +14 -0
- data/spec/lib/simp/files/componentinfo_spec/module_with_invalid_weekday_entry/metadata.json +44 -0
- data/spec/lib/simp/files/componentinfo_spec/module_with_malformed_metadata/CHANGELOG +14 -0
- data/spec/lib/simp/files/componentinfo_spec/module_with_malformed_metadata/metadata.json +44 -0
- data/spec/lib/simp/files/componentinfo_spec/module_with_version_misordered_entries/CHANGELOG +14 -0
- data/spec/lib/simp/files/componentinfo_spec/module_with_version_misordered_entries/metadata.json +44 -0
- data/spec/lib/simp/files/componentinfo_spec/module_without_changelog/metadata.json +44 -0
- data/spec/lib/simp/files/relchecks_compare_latest_tag_spec/module/CHANGELOG +5 -0
- data/spec/lib/simp/files/relchecks_compare_latest_tag_spec/module/metadata.json +44 -0
- data/spec/lib/simp/files/relchecks_compare_latest_tag_spec/module_without_changelog/metadata.json +44 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/asset_mismatched_release/build/asset_mismatched_release.spec +35 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/asset_missing_changelog/build/asset_missing_changelog.spec +27 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/asset_with_dist_in_release/build/asset_with_dist_in_release.spec +31 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/asset_with_multiple_packages/build/asset_with_multiple_packages.spec +64 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/asset_with_single_package/build/asset_with_single_package.spec +35 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/asset_without_spec_file/build/README +1 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/module_with_misordered_entries/CHANGELOG +14 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/module_with_misordered_entries/metadata.json +44 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/module_with_multiple_entries/CHANGELOG +14 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/module_with_multiple_entries/metadata.json +44 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/module_with_newer_changelog_entry/CHANGELOG +14 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/module_with_newer_changelog_entry/metadata.json +44 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/module_with_no_entry_for_version/CHANGELOG +14 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/module_with_no_entry_for_version/metadata.json +44 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/module_with_single_entry/CHANGELOG +7 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/module_with_single_entry/metadata.json +44 -0
- data/spec/lib/simp/files/relchecks_create_tag_changelog_spec/module_without_changelog/metadata.json +44 -0
- data/spec/lib/simp/relchecks_compare_latest_tag_spec.rb +89 -0
- data/spec/lib/simp/relchecks_create_tag_changelog_spec.rb +143 -0
- metadata +51 -2
@@ -0,0 +1,8 @@
|
|
1
|
+
* Wed Nov 15 2017 Mary Jones <mary.jones@simp.com> - 3.8.0-0
|
2
|
+
- Disable deprecation warnings by default
|
3
|
+
|
4
|
+
* Mon Nov 6 2017 Tom Smith <tom.smith@simp.com> - 3.8.0-0
|
5
|
+
- This has a one digit day when two digits are required (oops).
|
6
|
+
|
7
|
+
* Thu Oct 26 2017 Mary Jones <mary.jones@simp.com> - 3.8.0-0
|
8
|
+
- Add Mod::Macaddress data type
|
@@ -0,0 +1,44 @@
|
|
1
|
+
{
|
2
|
+
"name": "simp-module_with_invalid_entries",
|
3
|
+
"version": "3.8.0",
|
4
|
+
"author": "SIMP Team",
|
5
|
+
"summary": "A collection of common SIMP functions, facts, and types",
|
6
|
+
"license": "Apache-2.0",
|
7
|
+
"source": "https://github.com/simp/pupmod-simp-simplib",
|
8
|
+
"project_page": "https://github.com/simp/pupmod-simp-simplib",
|
9
|
+
"issues_url": "https://simp-project.atlassian.net",
|
10
|
+
"tags": [
|
11
|
+
"simp",
|
12
|
+
"functions",
|
13
|
+
"facts",
|
14
|
+
"types",
|
15
|
+
"alias",
|
16
|
+
"library"
|
17
|
+
],
|
18
|
+
"dependencies": [
|
19
|
+
|
20
|
+
],
|
21
|
+
"operatingsystem_support": [
|
22
|
+
{
|
23
|
+
"operatingsystem": "RedHat",
|
24
|
+
"operatingsystemrelease": [
|
25
|
+
"6",
|
26
|
+
"7"
|
27
|
+
]
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"operatingsystem": "CentOS",
|
31
|
+
"operatingsystemrelease": [
|
32
|
+
"6",
|
33
|
+
"7"
|
34
|
+
]
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"requirements": [
|
38
|
+
{
|
39
|
+
"name": "puppet",
|
40
|
+
"version_requirement": ">= 4.7.0 < 6.0.0"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"package_release_version": "0"
|
44
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
* Thu Nov 16 2017 Mary Jones <mary.jones@simp.com> - 3.8.0-0
|
2
|
+
- Disable deprecation warnings by default
|
3
|
+
|
4
|
+
* Tue Nov 06 2017 Tom Smith <tom.smith@simp.com> - 3.8.0-0
|
5
|
+
- This has an invalid weekday. Should be Mon.
|
6
|
+
|
7
|
+
* Thu Oct 26 2017 Mary Jones <mary.jones@simp.com> - 3.7.0-0
|
8
|
+
- Add Mod::Macaddress data type
|
9
|
+
|
10
|
+
* Tue Sep 26 2017 Joe Brown <joe.brown@simp.com> - 3.6.0-0
|
11
|
+
- Convert all 'sysctl' 'kernel.shm*' entries to Strings
|
12
|
+
- shmall and shmmax were causing Facter and newer versions of Puppet to crash
|
13
|
+
- See FACT-1732 for additional information
|
14
|
+
- Add Puppet function `mod::assert_metadata_os()`
|
@@ -0,0 +1,44 @@
|
|
1
|
+
{
|
2
|
+
"name": "simp-module_with_multiple_entries",
|
3
|
+
"version": "3.8.0",
|
4
|
+
"author": "SIMP Team",
|
5
|
+
"summary": "A collection of common SIMP functions, facts, and types",
|
6
|
+
"license": "Apache-2.0",
|
7
|
+
"source": "https://github.com/simp/pupmod-simp-simplib",
|
8
|
+
"project_page": "https://github.com/simp/pupmod-simp-simplib",
|
9
|
+
"issues_url": "https://simp-project.atlassian.net",
|
10
|
+
"tags": [
|
11
|
+
"simp",
|
12
|
+
"functions",
|
13
|
+
"facts",
|
14
|
+
"types",
|
15
|
+
"alias",
|
16
|
+
"library"
|
17
|
+
],
|
18
|
+
"dependencies": [
|
19
|
+
|
20
|
+
],
|
21
|
+
"operatingsystem_support": [
|
22
|
+
{
|
23
|
+
"operatingsystem": "RedHat",
|
24
|
+
"operatingsystemrelease": [
|
25
|
+
"6",
|
26
|
+
"7"
|
27
|
+
]
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"operatingsystem": "CentOS",
|
31
|
+
"operatingsystemrelease": [
|
32
|
+
"6",
|
33
|
+
"7"
|
34
|
+
]
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"requirements": [
|
38
|
+
{
|
39
|
+
"name": "puppet",
|
40
|
+
"version_requirement": ">= 4.7.0 < 6.0.0"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"package_release_version": "0"
|
44
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
* Wed Nov 15 2017 Mary Jones <mary.jones@simp.com> - 3.8.0-0
|
2
|
+
- Disable deprecation warnings by default
|
3
|
+
|
4
|
+
* Mon Nov 06 2017 Tom Smith <tom.smith@simp.com> - 3.8.0-0
|
5
|
+
- Fixes split failure when "findmnt" does not exist on Linux
|
6
|
+
|
7
|
+
* Thu Oct 26 2017 Mary Jones <mary.jones@simp.com> - 3.7.0-0
|
8
|
+
- Add Mod::Macaddress data type
|
9
|
+
|
10
|
+
* Tue Sep 26 2017 Joe Brown <joe.brown@simp.com> - 3.6.0-0
|
11
|
+
- Convert all 'sysctl' 'kernel.shm*' entries to Strings
|
12
|
+
- shmall and shmmax were causing Facter and newer versions of Puppet to crash
|
13
|
+
- See FACT-1732 for additional information
|
14
|
+
- Add Puppet function `mod::assert_metadata_os()`
|
@@ -0,0 +1,44 @@
|
|
1
|
+
{
|
2
|
+
"name": "simp-module_with_malformed_metadata"
|
3
|
+
"version": "3.8.0",
|
4
|
+
"author": "SIMP Team",
|
5
|
+
"summary": "A collection of common SIMP functions, facts, and types",
|
6
|
+
"license": "Apache-2.0",
|
7
|
+
"source": "https://github.com/simp/pupmod-simp-simplib",
|
8
|
+
"project_page": "https://github.com/simp/pupmod-simp-simplib",
|
9
|
+
"issues_url": "https://simp-project.atlassian.net",
|
10
|
+
"tags": [
|
11
|
+
"simp",
|
12
|
+
"functions",
|
13
|
+
"facts",
|
14
|
+
"types",
|
15
|
+
"alias",
|
16
|
+
"library"
|
17
|
+
],
|
18
|
+
"dependencies": [
|
19
|
+
|
20
|
+
],
|
21
|
+
"operatingsystem_support": [
|
22
|
+
{
|
23
|
+
"operatingsystem": "RedHat",
|
24
|
+
"operatingsystemrelease": [
|
25
|
+
"6",
|
26
|
+
"7"
|
27
|
+
]
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"operatingsystem": "CentOS",
|
31
|
+
"operatingsystemrelease": [
|
32
|
+
"6",
|
33
|
+
"7"
|
34
|
+
]
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"requirements": [
|
38
|
+
{
|
39
|
+
"name": "puppet",
|
40
|
+
"version_requirement": ">= 4.7.0 < 6.0.0"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"package_release_version": "0"
|
44
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
* Wed Nov 15 2017 Mary Jones <mary.jones@simp.com> - 3.7.0-0
|
2
|
+
- Disable deprecation warnings by default
|
3
|
+
|
4
|
+
* Mon Nov 06 2017 Tom Smith <tom.smith@simp.com> - 3.8.0-0
|
5
|
+
- Fixes split failure when "findmnt" does not exist on Linux
|
6
|
+
|
7
|
+
* Thu Oct 26 2017 Mary Jones <mary.jones@simp.com> - 3.7.0-0
|
8
|
+
- Add Mod::Macaddress data type
|
9
|
+
|
10
|
+
* Tue Sep 26 2017 Joe Brown <joe.brown@simp.com> - 3.6.0-0
|
11
|
+
- Convert all 'sysctl' 'kernel.shm*' entries to Strings
|
12
|
+
- shmall and shmmax were causing Facter and newer versions of Puppet to crash
|
13
|
+
- See FACT-1732 for additional information
|
14
|
+
- Add Puppet function `mod::assert_metadata_os()`
|
data/spec/lib/simp/files/componentinfo_spec/module_with_version_misordered_entries/metadata.json
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
{
|
2
|
+
"name": "simp-module_with_version_misordered_entries",
|
3
|
+
"version": "3.7.0",
|
4
|
+
"author": "SIMP Team",
|
5
|
+
"summary": "A collection of common SIMP functions, facts, and types",
|
6
|
+
"license": "Apache-2.0",
|
7
|
+
"source": "https://github.com/simp/pupmod-simp-simplib",
|
8
|
+
"project_page": "https://github.com/simp/pupmod-simp-simplib",
|
9
|
+
"issues_url": "https://simp-project.atlassian.net",
|
10
|
+
"tags": [
|
11
|
+
"simp",
|
12
|
+
"functions",
|
13
|
+
"facts",
|
14
|
+
"types",
|
15
|
+
"alias",
|
16
|
+
"library"
|
17
|
+
],
|
18
|
+
"dependencies": [
|
19
|
+
|
20
|
+
],
|
21
|
+
"operatingsystem_support": [
|
22
|
+
{
|
23
|
+
"operatingsystem": "RedHat",
|
24
|
+
"operatingsystemrelease": [
|
25
|
+
"6",
|
26
|
+
"7"
|
27
|
+
]
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"operatingsystem": "CentOS",
|
31
|
+
"operatingsystemrelease": [
|
32
|
+
"6",
|
33
|
+
"7"
|
34
|
+
]
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"requirements": [
|
38
|
+
{
|
39
|
+
"name": "puppet",
|
40
|
+
"version_requirement": ">= 4.7.0 < 6.0.0"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"package_release_version": "0"
|
44
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
{
|
2
|
+
"name": "simp-module_without_changelog",
|
3
|
+
"version": "3.8.0",
|
4
|
+
"author": "SIMP Team",
|
5
|
+
"summary": "A collection of common SIMP functions, facts, and types",
|
6
|
+
"license": "Apache-2.0",
|
7
|
+
"source": "https://github.com/simp/pupmod-simp-simplib",
|
8
|
+
"project_page": "https://github.com/simp/pupmod-simp-simplib",
|
9
|
+
"issues_url": "https://simp-project.atlassian.net",
|
10
|
+
"tags": [
|
11
|
+
"simp",
|
12
|
+
"functions",
|
13
|
+
"facts",
|
14
|
+
"types",
|
15
|
+
"alias",
|
16
|
+
"library"
|
17
|
+
],
|
18
|
+
"dependencies": [
|
19
|
+
|
20
|
+
],
|
21
|
+
"operatingsystem_support": [
|
22
|
+
{
|
23
|
+
"operatingsystem": "RedHat",
|
24
|
+
"operatingsystemrelease": [
|
25
|
+
"6",
|
26
|
+
"7"
|
27
|
+
]
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"operatingsystem": "CentOS",
|
31
|
+
"operatingsystemrelease": [
|
32
|
+
"6",
|
33
|
+
"7"
|
34
|
+
]
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"requirements": [
|
38
|
+
{
|
39
|
+
"name": "puppet",
|
40
|
+
"version_requirement": ">= 4.7.0 < 6.0.0"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"package_release_version": "0"
|
44
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
{
|
2
|
+
"name": "simp-module",
|
3
|
+
"version": "1.1.0",
|
4
|
+
"author": "SIMP Team",
|
5
|
+
"summary": "A collection of common SIMP functions, facts, and types",
|
6
|
+
"license": "Apache-2.0",
|
7
|
+
"source": "https://github.com/simp/pupmod-simp-simplib",
|
8
|
+
"project_page": "https://github.com/simp/pupmod-simp-simplib",
|
9
|
+
"issues_url": "https://simp-project.atlassian.net",
|
10
|
+
"tags": [
|
11
|
+
"simp",
|
12
|
+
"functions",
|
13
|
+
"facts",
|
14
|
+
"types",
|
15
|
+
"alias",
|
16
|
+
"library"
|
17
|
+
],
|
18
|
+
"dependencies": [
|
19
|
+
|
20
|
+
],
|
21
|
+
"operatingsystem_support": [
|
22
|
+
{
|
23
|
+
"operatingsystem": "RedHat",
|
24
|
+
"operatingsystemrelease": [
|
25
|
+
"6",
|
26
|
+
"7"
|
27
|
+
]
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"operatingsystem": "CentOS",
|
31
|
+
"operatingsystemrelease": [
|
32
|
+
"6",
|
33
|
+
"7"
|
34
|
+
]
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"requirements": [
|
38
|
+
{
|
39
|
+
"name": "puppet",
|
40
|
+
"version_requirement": ">= 4.7.0 < 6.0.0"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"package_release_version": "0"
|
44
|
+
}
|
data/spec/lib/simp/files/relchecks_compare_latest_tag_spec/module_without_changelog/metadata.json
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
{
|
2
|
+
"name": "simp-module_without_changelog",
|
3
|
+
"version": "3.8.0",
|
4
|
+
"author": "SIMP Team",
|
5
|
+
"summary": "A collection of common SIMP functions, facts, and types",
|
6
|
+
"license": "Apache-2.0",
|
7
|
+
"source": "https://github.com/simp/pupmod-simp-simplib",
|
8
|
+
"project_page": "https://github.com/simp/pupmod-simp-simplib",
|
9
|
+
"issues_url": "https://simp-project.atlassian.net",
|
10
|
+
"tags": [
|
11
|
+
"simp",
|
12
|
+
"functions",
|
13
|
+
"facts",
|
14
|
+
"types",
|
15
|
+
"alias",
|
16
|
+
"library"
|
17
|
+
],
|
18
|
+
"dependencies": [
|
19
|
+
|
20
|
+
],
|
21
|
+
"operatingsystem_support": [
|
22
|
+
{
|
23
|
+
"operatingsystem": "RedHat",
|
24
|
+
"operatingsystemrelease": [
|
25
|
+
"6",
|
26
|
+
"7"
|
27
|
+
]
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"operatingsystem": "CentOS",
|
31
|
+
"operatingsystemrelease": [
|
32
|
+
"6",
|
33
|
+
"7"
|
34
|
+
]
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"requirements": [
|
38
|
+
{
|
39
|
+
"name": "puppet",
|
40
|
+
"version_requirement": ">= 4.7.0 < 6.0.0"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"package_release_version": "0"
|
44
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
Summary: SIMP Utils
|
2
|
+
Name: asset_mismatched_release
|
3
|
+
Version: 1.0.0
|
4
|
+
Release: RC1
|
5
|
+
License: Apache License, Version 2.0
|
6
|
+
Group: Applications/System
|
7
|
+
Source: %{name}-%{version}-%{release}.tar.gz
|
8
|
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
9
|
+
BuildArch: noarch
|
10
|
+
|
11
|
+
%description
|
12
|
+
Asset with single entry
|
13
|
+
|
14
|
+
%prep
|
15
|
+
|
16
|
+
%build
|
17
|
+
|
18
|
+
%install
|
19
|
+
|
20
|
+
%clean
|
21
|
+
|
22
|
+
%files
|
23
|
+
|
24
|
+
%post
|
25
|
+
|
26
|
+
%postun
|
27
|
+
|
28
|
+
%changelog
|
29
|
+
|
30
|
+
* Wed Oct 18 2017 Jane Doe <jane.doe@simp.com> - 1.0.0-0
|
31
|
+
- OOPS mismatched release qualifier
|
32
|
+
|
33
|
+
* Wed Nov 04 2009 Maintenance
|
34
|
+
0.1-0
|
35
|
+
- Added the man page
|
@@ -0,0 +1,27 @@
|
|
1
|
+
Summary: SIMP Utils
|
2
|
+
Name: asset_missing_changelog
|
3
|
+
Version: 1.0.0
|
4
|
+
Release: 0
|
5
|
+
License: Apache License, Version 2.0
|
6
|
+
Group: Applications/System
|
7
|
+
Source: %{name}-%{version}-%{release}.tar.gz
|
8
|
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
9
|
+
BuildArch: noarch
|
10
|
+
|
11
|
+
%description
|
12
|
+
Asset with single entry
|
13
|
+
|
14
|
+
%prep
|
15
|
+
|
16
|
+
%build
|
17
|
+
|
18
|
+
%install
|
19
|
+
|
20
|
+
%clean
|
21
|
+
|
22
|
+
%files
|
23
|
+
|
24
|
+
%post
|
25
|
+
|
26
|
+
%postun
|
27
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
Summary: SIMP Utils
|
2
|
+
Name: asset_with_dist_in_release
|
3
|
+
Version: 1.0.0
|
4
|
+
Release: 0%{?dist}
|
5
|
+
License: Apache License, Version 2.0
|
6
|
+
Group: Applications/System
|
7
|
+
Source: %{name}-%{version}-%{release}.tar.gz
|
8
|
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
9
|
+
BuildArch: noarch
|
10
|
+
|
11
|
+
%description
|
12
|
+
Asset with single entry
|
13
|
+
|
14
|
+
%prep
|
15
|
+
|
16
|
+
%build
|
17
|
+
|
18
|
+
%install
|
19
|
+
|
20
|
+
%clean
|
21
|
+
|
22
|
+
%files
|
23
|
+
|
24
|
+
%post
|
25
|
+
|
26
|
+
%postun
|
27
|
+
|
28
|
+
%changelog
|
29
|
+
|
30
|
+
* Wed Oct 18 2017 Jane Doe <jane.doe@simp.com> - 1.0.0-0
|
31
|
+
- Package with distribution in release tag
|