Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
persona
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hexang 息壤平台
persona
Commits
393a845f
Commit
393a845f
authored
13 years ago
by
Lloyd Hilaiel
Browse files
Options
Downloads
Plain Diff
Merge pull request #705 from fetep/fixes/rpmbuild
some rpmbuild fixes
parents
3941933d
5446771b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+13
-0
13 additions, 0 deletions
Makefile
scripts/browserid.spec
+2
-3
2 additions, 3 deletions
scripts/browserid.spec
scripts/rpmbuild.sh
+3
-5
3 additions, 5 deletions
scripts/rpmbuild.sh
with
18 additions
and
8 deletions
Makefile
0 → 100644
+
13
−
0
View file @
393a845f
clean
:
rm
-rf
node_modules rpmbuild
npm
:
npm
install
rpm
:
npm
scripts/rpmbuild.sh
test
:
npm
npm
test
jenkins_build
:
clean npm test rpm
This diff is collapsed.
Click to expand it.
scripts/browserid.spec
+
2
−
3
View file @
393a845f
...
...
@@ -18,13 +18,12 @@ BuildRequires: gcc-c++ git jre make npm openssl-devel
browserid server & web home for browserid.org
%prep
%setup -q -n browserid
%setup -q
-c
-n browserid
%build
rm -rf node_modules/jwcrypto
npm install
export PATH=$PWD/node_modules/.bin:$PATH
(
scripts/compress.sh
)
scripts/compress.sh
echo "$GIT_REVISION" > resources/static/ver.txt
%install
...
...
This diff is collapsed.
Click to expand it.
scripts/rpmbuild.sh
+
3
−
5
View file @
393a845f
...
...
@@ -9,11 +9,9 @@ cd $(dirname $0)/.. # top level of the checkout
mkdir
-p
rpmbuild/SOURCES rpmbuild/SPECS rpmbuild/SOURCES
rm
-rf
rpmbuild/RPMS rpmbuild/SOURCES/browserid
# work around the checkout name not being "browserid"
ln
-sf
$PWD
rpmbuild/SOURCES/browserid
tar
-C
rpmbuild/SOURCES
--exclude
rpmbuild
--exclude
.git
\
--exclude
var
-czhf
\
$PWD
/rpmbuild/SOURCES/browserid-server.tar.gz browserid/
tar
--exclude
rpmbuild
--exclude
.git
\
--exclude
var
-czf
\
$PWD
/rpmbuild/SOURCES/browserid-server.tar.gz
.
set
+e
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment