This repository was archived by the owner on Jul 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
Branch into 3 rpm packages #143
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,13 +34,13 @@ available in your local package manager. | |
| Then just do | ||
|
|
||
| ``` | ||
| make debian rpm | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. again, let's keep the |
||
| make debian rpm8 rpm11 | ||
| ``` | ||
|
|
||
| To test the packages you need to have Docker installed: | ||
|
|
||
| ``` | ||
| make debian-test rpm-test | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and |
||
| make debian-test rpm8-test rpm11-test | ||
| ``` | ||
|
|
||
| To get the versions correct when building packages you can override | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| Name: cypher-shell | ||
| Name: cypher-shell-java11 | ||
| Provides: cypher-shell | ||
| Version: ${VERSION} | ||
| Release: ${RELEASE}%{?dist} | ||
|
|
@@ -8,7 +8,8 @@ License: GPLv3 | |
| URL: https://github.com/neo4j/cypher-shell | ||
| Source0: https://github.com/neo4j/cypher-shell/archive/%{version}.tar.gz | ||
|
|
||
| Requires: which, (jre-headless >= 1.8 or jre >= 11) | ||
| Conflicts: cypher-shell-java8, cypher-shell-openjava11 | ||
| Requires: which, jre >= 11 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add an |
||
| BuildArch: noarch | ||
| Prefix: /usr | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| Name: cypher-shell-java8 | ||
| Provides: cypher-shell | ||
| Version: ${VERSION} | ||
| Release: ${RELEASE}%{?dist} | ||
| Summary: Command line shell for Neo4j | ||
|
|
||
| License: GPLv3 | ||
| URL: https://github.com/neo4j/cypher-shell | ||
| Source0: https://github.com/neo4j/cypher-shell/archive/%{version}.tar.gz | ||
|
|
||
| Conflicts: cypher-shell-java11 | ||
| Obsoletes: cypher-shell <= 1.1.8 | ||
| Requires: which, jre-headless >= 1.8 | ||
| BuildArch: noarch | ||
| Prefix: /usr | ||
|
|
||
| %description | ||
| A command line shell where you can execute Cypher against an instance | ||
| of Neo4j. | ||
|
|
||
| %prep | ||
| # This macro will unpack the tarball into the appropriate build directory | ||
| # Expects tarball to unpack into a directory called {name}-{version} | ||
| #%setup -q | ||
| %build | ||
| #make clean build | ||
|
|
||
| %install | ||
| rm -rf ${RPM_BUILD_ROOT} | ||
| # Calls make with correct DESTDIR | ||
| %make_install prefix=/usr | ||
|
|
||
| %clean | ||
| rm -rf ${RPM_BUILD_ROOT} | ||
|
|
||
| %files | ||
| %defattr(-,root,root) | ||
| %{_bindir}/cypher-shell | ||
| %{_datadir}/cypher-shell | ||
| %doc %{_mandir}/man1/cypher-shell.1.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| Name: cypher-shell-openjava11 | ||
| Provides: cypher-shell | ||
| Version: ${VERSION} | ||
| Release: ${RELEASE}%{?dist} | ||
| Summary: Command line shell for Neo4j | ||
|
|
||
| License: GPLv3 | ||
| URL: https://github.com/neo4j/cypher-shell | ||
| Source0: https://github.com/neo4j/cypher-shell/archive/%{version}.tar.gz | ||
|
|
||
| Conflicts: cypher-shell-java8, cypher-shell-java11 | ||
| Requires: which, jre-11-headless >= 11 | ||
| BuildArch: noarch | ||
| Prefix: /usr | ||
|
|
||
| %description | ||
| A command line shell where you can execute Cypher against an instance | ||
| of Neo4j. | ||
|
|
||
| %prep | ||
| # This macro will unpack the tarball into the appropriate build directory | ||
| # Expects tarball to unpack into a directory called {name}-{version} | ||
| #%setup -q | ||
| %build | ||
| #make clean build | ||
|
|
||
| %install | ||
| rm -rf ${RPM_BUILD_ROOT} | ||
| # Calls make with correct DESTDIR | ||
| %make_install prefix=/usr | ||
|
|
||
| %clean | ||
| rm -rf ${RPM_BUILD_ROOT} | ||
|
|
||
| %files | ||
| %defattr(-,root,root) | ||
| %{_bindir}/cypher-shell | ||
| %{_datadir}/cypher-shell | ||
| %doc %{_mandir}/man1/cypher-shell.1.gz |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's now no longer a make target for rpm, so you can't do
make rpmany more.add a line somewhere:
rpm: rpm8 rpm11