summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Callaway <spot@fedoraproject.org>2016-07-26 11:55:11 -0400
committerTom Callaway <spot@fedoraproject.org>2016-07-26 11:55:11 -0400
commit0d4410908a5646b4d142f4e3b2ca0833594aa7ec (patch)
tree95896d5ffe971630d83f7ff18f169bce064aa1d8
parent19e01a142e9ab983055b2f4cdb5490a99fbd3149 (diff)
downloadlua-0d4410908a5646b4d142f4e3b2ca0833594aa7ec.tar.gz
lua-0d4410908a5646b4d142f4e3b2ca0833594aa7ec.tar.xz
lua-0d4410908a5646b4d142f4e3b2ca0833594aa7ec.zip
create lua-libs subpackage, disable bootstrap
-rw-r--r--lua.spec23
1 files changed, 19 insertions, 4 deletions
diff --git a/lua.spec b/lua.spec
index 4a54634..d6e8069 100644
--- a/lua.spec
+++ b/lua.spec
@@ -2,14 +2,14 @@
# If you are incrementing major_version, enable bootstrapping and adjust accordingly.
# Version should be the latest prior build. If you don't do this, RPM will break and
# everything will grind to a halt.
-%global bootstrap 1
+%global bootstrap 0
%global bootstrap_major_version 5.2
%global bootstrap_version %{bootstrap_major_version}.3
Name: lua
Version: %{major_version}.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Powerful light-weight programming language
Group: Development/Languages
License: MIT
@@ -41,6 +41,7 @@ Patch10: lua-5.3.3-upstream-bug-2.patch
BuildRequires: automake autoconf libtool readline-devel ncurses-devel
Provides: lua(abi) = %{major_version}
+Requires: lua-libs = %{version}-%{release}
%description
Lua is a powerful light-weight programming language designed for
@@ -61,6 +62,12 @@ Requires: pkgconfig
%description devel
This package contains development files for %{name}.
+%package libs
+Summary: Libraries for %{name}
+
+%description libs
+This package contains the shared libraries for %{name}.
+
%package static
Summary: Static library for %{name}
Group: System Environment/Libraries
@@ -170,9 +177,7 @@ popd
%doc README doc/*.html doc/*.css doc/*.gif doc/*.png
%{_bindir}/lua
%{_bindir}/luac
-%{_libdir}/liblua-%{major_version}.so
%if 0%{?bootstrap}
-%{_libdir}/liblua-%{bootstrap_major_version}.so
%dir %{_libdir}/lua/%{bootstrap_major_version}
%dir %{_datadir}/lua/%{bootstrap_major_version}
%endif
@@ -182,6 +187,12 @@ popd
%dir %{_datadir}/lua
%dir %{_datadir}/lua/%{major_version}
+%files libs
+%{_libdir}/liblua-%{major_version}.so
+%if 0%{?bootstrap}
+%{_libdir}/liblua-%{bootstrap_major_version}.so
+%endif
+
%files devel
%{_includedir}/l*.h
%{_includedir}/l*.hpp
@@ -193,6 +204,10 @@ popd
%changelog
+* Tue Jul 26 2016 Tom Callaway <spot@fedoraproject.org> - 5.3.3-3
+- create lua-libs subpackage
+- disable bootstrap
+
* Mon Jul 25 2016 Tom Callaway <spot@fedoraproject.org> - 5.3.3-2
- apply fixes for upstream bug 1 & 2