Skip to content

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

Merged
merged 1 commit into from
Jun 23, 2022
Merged

Provide spec file for rpmbuild #6

merged 1 commit into from
Jun 23, 2022

Conversation

jschmidb
Copy link
Contributor

Provide new spec file for rpmbuild and change install location
of libzpc.pc to libdir.

Signed-off-by: Joerg Schmidbauer jschmidb@de.ibm.com

@ifranzki
Copy link
Contributor

is the 2nd commit "Merge branch 'main' into spec_file" intended ?

@jschmidb jschmidb requested a review from sharkcz June 15, 2022 10:36
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}
Copy link

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 ....

Copy link
Contributor Author

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}*
Copy link

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
Copy link

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
Copy link

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
Copy link

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>
@jschmidb jschmidb merged commit 87f491a into opencryptoki:main Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants