Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 898338 Details for
Bug 1100242
[PATCH] Build lua-filesystem also against compat-lua
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Patch adding -compat package for lua-filesystem built against compat-lua
lua-filesystem.spec (text/x-rpm-spec), 4.62 KB, created by
Jan Kaluža
on 2014-05-22 11:04:35 UTC
(
hide
)
Description:
Patch adding -compat package for lua-filesystem built against compat-lua
Filename:
MIME Type:
Creator:
Jan Kaluža
Created:
2014-05-22 11:04:35 UTC
Size:
4.62 KB
patch
obsolete
>%{!?luaver: %global luaver %(lua -e "print(string.sub(_VERSION, 5))")} >%global lualibdir %{_libdir}/lua/%{luaver} > >%define luacompatver 5.1 >%define luacompatlibdir %{_libdir}/lua/%{luacompatver} >%define luacompatpkgdir %{_datadir}/lua/%{luacompatver} >%define lua51dir %{_builddir}/lua51-%{name}-%{version}-%{release} > >Name: lua-filesystem >Version: 1.6.2 >Release: 5%{?dist} >Summary: File System Library for the Lua Programming Language > >Group: Development/Libraries >License: MIT >URL: http://www.keplerproject.org/luafilesystem/ >Source0: http://cloud.github.com/downloads/keplerproject/luafilesystem/luafilesystem-%{version}.tar.gz >%if 0%{?el5} >BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) >%endif > >BuildRequires: lua-devel >= %{luaver} >%if 0%{?fedora} >Requires: lua(abi) = %{luaver} >%else >Requires: lua >= %{luaver} >%endif > >%if 0%{?fedora} >= 20 >BuildRequires: compat-lua >= %{luacompatver}, compat-lua-devel >= %{luacompatver} >%endif > >%description >LuaFileSystem is a Lua library developed to complement the set of functions >related to file systems offered by the standard Lua distribution. > >LuaFileSystem offers a portable way to access the underlying directory >structure and file attributes. > >%if 0%{?fedora} >= 20 >%package compat >Summary: File System Library for the Lua Programming Language 5.1 >Group: Development/Libraries > >%description compat >LuaFileSystem is a Lua library developed to complement the set of functions >related to file systems offered by the standard Lua distribution. > >LuaFileSystem offers a portable way to access the underlying directory >structure and file attributes. >%endif > >%prep >%setup -q -n luafilesystem-%{version} > >%if 0%{?fedora} >= 20 >rm -rf %{lua51dir} >cp -a . %{lua51dir} >%endif > >%build >make %{?_smp_mflags} PREFIX=%{_prefix} LUA_LIBDIR=%{lualibdir} CFLAGS="%{optflags} -fPIC" > >%if 0%{?fedora} >= 20 >pushd %{lua51dir} >make %{?_smp_mflags} PREFIX=%{_prefix} LUA_LIBDIR=%{luacompatlibdir} CFLAGS="-I%{_includedir}/lua-%{luacompatver} %{optflags} -fPIC" >popd >%endif > >%install >rm -rf $RPM_BUILD_ROOT >make install PREFIX=$RPM_BUILD_ROOT%{_prefix} LUA_LIBDIR=$RPM_BUILD_ROOT%{lualibdir} > >%if 0%{?fedora} >= 20 >pushd %{lua51dir} >make install PREFIX=$RPM_BUILD_ROOT%{_prefix} LUA_LIBDIR=$RPM_BUILD_ROOT%{luacompatlibdir} >popd >%endif > >%check >LUA_CPATH=$RPM_BUILD_ROOT%{lualibdir}/\?.so lua tests/test.lua > > >%if 0%{?rhel} >%clean >rm -rf $RPM_BUILD_ROOT >%endif > > >%files >%defattr(-,root,root,-) >%doc doc/us/* >%doc README >%{lualibdir}/* > >%if 0%{?fedora} >= 20 >%files compat >%defattr(-,root,root,-) >%doc doc/us/* >%doc README >%{luacompatlibdir}/* >%endif > >%changelog >* Thu May 22 2014 Jan Kaluza <jkaluza@redhat.com> - 1.6.2-5 >- build -compat subpackage against compat-lua > >* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-4 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild > >* Fri May 10 2013 Tom Callaway <spot@fedoraproject.org> - 1.6.2-3 >- rebuild for lua 5.2 > >* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-2 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild > >* Mon Oct 8 2012 Michel Salim <salimma@fedoraproject.org> - 1.6.2-1 >- Update to 1.6.2 >- Spec cleanup > >* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-3 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild > >* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-2 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild > >* Tue Aug 16 2011 Michel Salim <salimma@fedoraproject.org> - 1.5.0-1 >- Update to 1.5.0 >- Enable tests > >* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-2 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild > >* Tue Sep 29 2009 Tim Niemueller <tim@niemueller.de> - 1.4.2-1 >- Upgrade to latest stable release > >* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-3 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild > >* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-2 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild > >* Thu May 08 2008 Tim Niemueller <tim@niemueller.de> - 1.4.1-1 >- Upgrade to latest stable release > >* Sat Apr 05 2008 Tim Niemueller <tim@niemueller.de> - 1.4.0-3 >- Add patch to add missing include of stdlib.h > >* Sat Apr 05 2008 Tim Niemueller <tim@niemueller.de> - 1.4.0-2 >- Pass correct CFLAGS to make to produce proper debuginfo > >* Fri Apr 04 2008 Tim Niemueller <tim@niemueller.de> - 1.4.0-1 >- Initial package >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1100242
: 898338