* Mon Apr 2 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.2-1
- New upstream release 5.1.2 - Fix use of rpath on x86_64
This commit is contained in:
parent
9dfc99e72d
commit
fde95bb85e
|
@ -1,2 +1 @@
|
||||||
lua-5.1.1.tar.gz
|
lua-5.1.2.tar.gz
|
||||||
lua-5.1.1-autotoolize.patch.gz
|
|
||||||
|
|
26
lua.spec
26
lua.spec
|
@ -1,6 +1,6 @@
|
||||||
Name: lua
|
Name: lua
|
||||||
Version: 5.1.1
|
Version: 5.1.2
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Powerful light-weight programming language
|
Summary: Powerful light-weight programming language
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: MIT
|
License: MIT
|
||||||
|
@ -21,25 +21,27 @@ memory management with garbage collection, making it ideal for
|
||||||
configuration, scripting, and rapid prototyping.
|
configuration, scripting, and rapid prototyping.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: ncurses-devel, pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains development files for %{name}.
|
This package contains development files for %{name}.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -E
|
%patch0 -p1 -E -z .autoxxx
|
||||||
# fix perms on auto files
|
# fix perms on auto files
|
||||||
chmod u+x autogen.sh config.guess config.sub configure depcomp install-sh missing
|
chmod u+x autogen.sh config.guess config.sub configure depcomp install-sh missing
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-readline
|
%configure --with-readline
|
||||||
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
# hack so that only /usr/bin/lua gets linked with readline as it is the
|
# hack so that only /usr/bin/lua gets linked with readline as it is the
|
||||||
# only one which needs this and otherwise we get License troubles
|
# only one which needs this and otherwise we get License troubles
|
||||||
make %{?_smp_mflags} LIBS="-ldl" luac_LDADD="liblua.la -lm -ldl"
|
make %{?_smp_mflags} LIBS="-ldl" luac_LDADD="liblua.la -lm -ldl"
|
||||||
|
@ -59,7 +61,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYRIGHT HISTORY README doc/*.html doc/*.gif
|
%doc COPYRIGHT HISTORY README doc/*.html doc/*.css doc/*.gif doc/*.png
|
||||||
%{_bindir}/lua*
|
%{_bindir}/lua*
|
||||||
%{_libdir}/liblua-*.so
|
%{_libdir}/liblua-*.so
|
||||||
%{_mandir}/man1/lua*.1*
|
%{_mandir}/man1/lua*.1*
|
||||||
|
@ -73,6 +75,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 2 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.2-1
|
||||||
|
- New upstream release 5.1.2
|
||||||
|
- Fix use of rpath on x86_64
|
||||||
|
|
||||||
* Fri Jan 19 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.1-3
|
* Fri Jan 19 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.1-3
|
||||||
- Remove "-lreadline -lncurses" from lua.pc (bz 213895)
|
- Remove "-lreadline -lncurses" from lua.pc (bz 213895)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue