git.annexia.org
/
whenjobs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renumber the jobs file so that it can be reloaded in native code.
[whenjobs.git]
/
whenjobs.spec.in
diff --git
a/whenjobs.spec.in
b/whenjobs.spec.in
index
9811e13
..
cdb3897
100644
(file)
--- a/
whenjobs.spec.in
+++ b/
whenjobs.spec.in
@@
-60,8
+60,10
@@
make check
%install
make DESTDIR=$RPM_BUILD_ROOT install
%install
make DESTDIR=$RPM_BUILD_ROOT install
+%if %opt
# Remove bytecode library.
rm $RPM_BUILD_ROOT%{_libdir}/whenjobs/whenlib.cma
# Remove bytecode library.
rm $RPM_BUILD_ROOT%{_libdir}/whenjobs/whenlib.cma
+%endif
# Strip binaries (why doesn't RPM do this?)
strip --strip-all $RPM_BUILD_ROOT%{_bindir}/whenjobs
# Strip binaries (why doesn't RPM do this?)
strip --strip-all $RPM_BUILD_ROOT%{_bindir}/whenjobs
@@
-75,7
+77,11
@@
strip --strip-all $RPM_BUILD_ROOT%{_sbindir}/whenjobsd
%dir %{_libdir}/whenjobs
%{_libdir}/whenjobs/*.cmi
%{_libdir}/whenjobs/pa_when.cmo
%dir %{_libdir}/whenjobs
%{_libdir}/whenjobs/*.cmi
%{_libdir}/whenjobs/pa_when.cmo
+%if %opt
%{_libdir}/whenjobs/whenlib.cmxa
%{_libdir}/whenjobs/whenlib.cmxa
+%else
+%{_libdir}/whenjobs/whenlib.cma
+%endif
%{_mandir}/man1/*.1*
%{_mandir}/man8/*.8*
%{_mandir}/man1/*.1*
%{_mandir}/man8/*.8*