-
Notifications
You must be signed in to change notification settings - Fork 4
Provide spec file for rpmbuild #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
is the 2nd commit "Merge branch 'main' into spec_file" intended ? |
libzpc.spec
Outdated
| @@ -47,7 +47,7 @@ The %{name}-static package contains the static library of %{name}. | |||
|
|
|||
|
|
|||
| %prep | |||
| %setup -q -n %{name} | |||
| %autosetup -q -n %{name}-%{version} | |||
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.
This should be just %autosetup, the default behaviour is -q -n ....
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.
Done.
| @@ -74,13 +74,17 @@ The %{name}-static package contains the static library of %{name}. | |||
| %files | |||
| %doc README.md CHANGES.md | |||
| %license LICENSE | |||
| %{_libdir}/%{name}.so | |||
| %{_libdir}/%{name}.so.%{soversion}* | |||
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.
OK
|
|
||
|
|
||
| %files devel | ||
| %{_includedir}/zpc/ | ||
| %{_libdir}/pkgconfig/%{name}.pc | ||
| %{_libdir}/%{name}.so.%{soversion}* | ||
| %{_libdir}/%{name}.so |
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.
OK
| %{_libdir}/%{name}.so | ||
|
|
||
|
|
||
| %files static |
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.
OK
| @@ -3,7 +3,7 @@ Version: 1.0.0 | |||
| Release: 1%{?dist} | |||
| Summary: Open Source library for the IBM Z Protected-key crypto feature | |||
|
|
|||
| License: MIT License | |||
| License: MIT | |||
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.
OK
Updated spec file for rpm build. Signed-off-by: Joerg Schmidbauer <jschmidb@de.ibm.com>
Provide new spec file for rpmbuild and change install location
of libzpc.pc to libdir.
Signed-off-by: Joerg Schmidbauer jschmidb@de.ibm.com