Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moose
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sahil Moza
moose
Commits
3c135e77
Commit
3c135e77
authored
7 years ago
by
Dilawar Singh
Browse files
Options
Downloads
Patches
Plain Diff
Cleaner macros in spec file. [skip ci]
parent
83a407d7
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
rpm/moose.spec
+2
-6
2 additions, 6 deletions
rpm/moose.spec
with
2 additions
and
6 deletions
rpm/moose.spec
+
2
−
6
View file @
3c135e77
...
...
@@ -108,6 +108,7 @@ mkdir -p _build
cd _build
cmake \
-DWITH_DOC=OFF \
-DWITH_GUI=ON \
-DCMAKE_INSTALL_PREFIX=%{buildroot}/usr \
-DCMAKE_INSALL_LIBEXEC=%_libexecdir \
-DCMAKE_C_FLAGS=%optflags \
...
...
@@ -115,11 +116,6 @@ cmake \
-DMOOSE_VERSION=%version \
-DCMAKE_BUILD_TYPE="Release|RelWithDebugInfo" \
-DCMAKE_INSTALL_DO_STRIP=0 \
%if 0%{?centos_version}
-DWITH_MOOGLI=OFF \
%else
-DWITH_MOOGLI=ON \
%endif
..
make VERBOSE=1 %{?_smp_mflags}
...
...
@@ -137,7 +133,7 @@ compileall.compile_dir("%{buildroot}/%{python_sitelib}/"
# Create a launcher.
GUIBIN=%{buildroot}/%{_prefix}/bin/moosegui
cat > $GUIBIN <<EOF
#!/bin/
ba
sh
#!/bin/sh
cd %{_prefix}/lib/moose/gui && python mgui.py &
EOF
chmod a+x $GUIBIN
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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