-
Notifications
You must be signed in to change notification settings - Fork 4
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
Crhodes/rpm spec #8
Conversation
dist/rpm/libxjwt.spec
Outdated
|
||
%install | ||
cd libxjwt-%{version} | ||
scons install --install-sandbox="$RPM_BUILD_ROOT" |
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.
should we just add --prefix=/usr
here, and then we can drop all of the ld.so.conf.d
dance? Seems like the most "normal" for an RPM to prefix in /usr?
dist/rpm/libxjwt.spec
Outdated
cd %{name}-%{version} | ||
scons install --install-sandbox="$RPM_BUILD_ROOT" prefix=/usr | ||
|
||
%post -p /sbin/ldconfig |
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.
can be removed?
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.
I think without this, scons will install to the root of the host and not the buildroot for the rpm.
Also, I dont think there's any other mechanism to have ldd pick up on the new module without that call there. I can try removing both of these though and see what happens.
13a425a
to
9707d5d
Compare
dist/rpm/libxjwt.spec
Outdated
URL: https://github.com/ScaleFT/libxjwt | ||
Vendor: ScaleFT http://scaleft.com | ||
|
||
BuildRequires: scons |
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.
can be dropped
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.
LGTM
Adds a spec file suitable to building rpms for centos7.