Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
diaspora
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Milan
diaspora
Commits
19c0f50f
Commit
19c0f50f
authored
14 years ago
by
Alec Leamas
Browse files
Options
Downloads
Patches
Plain Diff
Creates a working diaspora-bundle.rpm
parent
7d2c426d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/fedora/diaspora-bundle.spec
+6
-18
6 additions, 18 deletions
pkg/fedora/diaspora-bundle.spec
with
6 additions
and
18 deletions
pkg/fedora/diaspora-bundle.spec
+
6
−
18
View file @
19c0f50f
...
...
@@ -40,19 +40,9 @@ Source file usede to compile native libraries in diaspora-bundle.
%build
mkdir -p vendor/cache
mv *.gem vendor/cache
for gem in vendor/cache/*.gem; do
gem install --local \
--install-dir vendor/bundle \
--no-rdoc \
--no-ri \
--no-test \
--no-wrappers \
--ignore-dependencies \
$gem
done
pushd vendor/bundle/gems
bundle install --local --deployment --without ri rdoc
pushd vendor/bundle/ruby/1.8/gems
# In repo (2.2.4)
test -d gherkin-*/ext && {
pushd gherkin-*/ext
...
...
@@ -132,7 +122,7 @@ pushd vendor/bundle/gems
ln -s ../ext/trace_nums.so .
popd
pushd em-http-request
-
*/lib
pushd
../bundler/gems/
em-http-request*/lib
rm em_buffer.so
ln -s ../ext/buffer/em_buffer.so .
rm http11_client.so
...
...
@@ -178,8 +168,6 @@ pushd vendor/bundle/gems
popd
%pre
getent group diaspora >/dev/null || groupadd -r diaspora
getent passwd diaspora >/dev/null || \
...
...
@@ -196,8 +184,8 @@ find . -name .git | xargs rm -rf
find . -name .gitignore -delete
find . -name \*.o -delete || :
test -d vendor/bundle/gems/selenium-webdriver-0.0.* && {
pushd vendor/bundle/gems/selenium-webdriver-0.0.*/lib/selenium/webdriver/
test -d vendor/bundle/
ruby/1.8//
gems/selenium-webdriver-0.0.* && {
pushd vendor/bundle/
/ruby/1.8/
gems/selenium-webdriver-0.0.*/lib/selenium/webdriver/
%ifarch %ix86 x86_64
%ifarch %ix86
rm -rf firefox/native/linux/amd64
...
...
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