Remove self META file (RHBZ#1806040).
This commit is contained in:
parent
5954c39c87
commit
8aa5740d51
@ -3,7 +3,7 @@
|
||||
Name: ocaml-lablgl
|
||||
Epoch: 1
|
||||
Version: 1.06
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: LablGL is an OpenGL interface for Objective Caml
|
||||
License: BSD
|
||||
|
||||
@ -91,26 +91,8 @@ make INSTALLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/lablGL \
|
||||
BINDIR=$RPM_BUILD_ROOT%{_bindir} \
|
||||
install
|
||||
|
||||
# Make and install a META file.
|
||||
cat <<EOM >META
|
||||
version="%{version}"
|
||||
directory="+lablgl"
|
||||
archive(byte) = "lablgl.cma"
|
||||
archive(native) = "lablgl.cmxa"
|
||||
|
||||
package "togl" (
|
||||
requires = "labltk lablgl"
|
||||
archive(byte) = "togl.cma"
|
||||
archive(native) = "togl.cmxa"
|
||||
)
|
||||
|
||||
package "glut" (
|
||||
requires = "lablgl"
|
||||
archive(byte) = "lablglut.cma"
|
||||
archive(native) = "lablglut.cmxa"
|
||||
)
|
||||
EOM
|
||||
cp META $RPM_BUILD_ROOT%{_libdir}/ocaml/lablGL
|
||||
# Install package META.
|
||||
cp META $RPM_BUILD_ROOT%{_libdir}/ocaml/lablGL/
|
||||
|
||||
# Remove unnecessary *.ml files (ones which have a *.mli).
|
||||
pushd $RPM_BUILD_ROOT%{_libdir}/ocaml/lablGL
|
||||
@ -146,6 +128,9 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Feb 25 2020 Richard W.M. Jones <rjones@redhat.com> - 1:1.06-9
|
||||
- Remove self META file (RHBZ#1806040).
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.06-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user