gjp 0.35.0 → 0.36.0
Sign up to get free protection for your applications and to get access to all the features.
- data/SPECIAL_CASES.md +8 -1
- data/integration-tests/commons.sh +1 -1
- data/lib/gjp/git.rb +1 -1
- data/lib/gjp/version.rb +1 -1
- data/lib/template/package.spec +1 -1
- metadata +2 -3
- data/Gemfile.lock +0 -42
data/SPECIAL_CASES.md
CHANGED
@@ -73,7 +73,14 @@ Note that the kit package is needed at build time only by OBS, no end user shoul
|
|
73
73
|
|
74
74
|
export NO_BRP_CHECK_BYTECODE_VERSION=true
|
75
75
|
|
76
|
-
* if
|
76
|
+
* some Maven plugins like the Eclipse Project ones ([Tycho](https://www.eclipse.org/tycho/)) will save data in `/tmp` downloaded from the Internet and will produce errors if this data is not there during offline builds. One way to work around that is to force Java to use a kit subdirectory as `/tmp`. Add the following option to `gjp mvn` during your build:
|
77
|
+
|
78
|
+
-DskipTests=true -Djava.io.tmpdir=<full path to project>/kit/tmp
|
79
|
+
|
80
|
+
Use the following option in `mvn` in your build.sh file to make it reproducible:
|
81
|
+
|
82
|
+
-DskipTests=true -Djava.io.tmpdir=$PROJECT_PREFIX/kit/tmp
|
83
|
+
|
77
84
|
* if you want to be 100% sure your package builds without network access, you can use scripts in the `utils/` folder to create a special `nonet` user that cannot use the Internet and retry the build from that user.
|
78
85
|
|
79
86
|
## Frequently used sources
|
@@ -31,7 +31,7 @@ cd ../../..
|
|
31
31
|
cd src
|
32
32
|
mkdir commons-fileupload
|
33
33
|
cd commons-fileupload
|
34
|
-
wget http://
|
34
|
+
wget http://archive.apache.org/dist/commons/fileupload/source/commons-fileupload-1.3-src.zip
|
35
35
|
unzip commons-fileupload-1.3-src.zip
|
36
36
|
rm commons-fileupload-1.3-src.zip
|
37
37
|
|
data/lib/gjp/git.rb
CHANGED
data/lib/gjp/version.rb
CHANGED
data/lib/template/package.spec
CHANGED
@@ -43,7 +43,7 @@ Requires: mvn(<%= dependency_id[0] %>:<%= dependency_id[1] %>) <% if depen
|
|
43
43
|
%prep
|
44
44
|
%setup -q -c -n src/<%= name %>
|
45
45
|
cp -f %{SOURCE1} .
|
46
|
-
|
46
|
+
cp -Rf %{_datadir}/gjp/<%= project_name %>-kit ../../kit
|
47
47
|
|
48
48
|
%build
|
49
49
|
cd ../../
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gjp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.36.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-05-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -149,7 +149,6 @@ extra_rdoc_files: []
|
|
149
149
|
files:
|
150
150
|
- .gitignore
|
151
151
|
- Gemfile
|
152
|
-
- Gemfile.lock
|
153
152
|
- LICENSE
|
154
153
|
- MOTIVATION.md
|
155
154
|
- README.md
|
data/Gemfile.lock
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
gjp (0.11.2)
|
5
|
-
clamp
|
6
|
-
json
|
7
|
-
nokogiri
|
8
|
-
rest-client
|
9
|
-
rubyzip
|
10
|
-
text
|
11
|
-
|
12
|
-
GEM
|
13
|
-
remote: http://rubygems.org/
|
14
|
-
specs:
|
15
|
-
clamp (0.6.1)
|
16
|
-
diff-lcs (1.2.4)
|
17
|
-
json (1.8.0)
|
18
|
-
mime-types (1.23)
|
19
|
-
mini_portile (0.5.1)
|
20
|
-
nokogiri (1.6.0)
|
21
|
-
mini_portile (~> 0.5.0)
|
22
|
-
rake (10.0.4)
|
23
|
-
rest-client (1.6.7)
|
24
|
-
mime-types (>= 1.16)
|
25
|
-
rspec (2.13.0)
|
26
|
-
rspec-core (~> 2.13.0)
|
27
|
-
rspec-expectations (~> 2.13.0)
|
28
|
-
rspec-mocks (~> 2.13.0)
|
29
|
-
rspec-core (2.13.1)
|
30
|
-
rspec-expectations (2.13.0)
|
31
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
32
|
-
rspec-mocks (2.13.1)
|
33
|
-
rubyzip (0.9.9)
|
34
|
-
text (1.2.1)
|
35
|
-
|
36
|
-
PLATFORMS
|
37
|
-
ruby
|
38
|
-
|
39
|
-
DEPENDENCIES
|
40
|
-
gjp!
|
41
|
-
rake
|
42
|
-
rspec
|