diff options
author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2011-09-08 12:11:20 +0200 |
---|---|---|
committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2011-09-08 12:11:20 +0200 |
commit | efee47094179a929d8cf5dbe4b75a93b533ac245 (patch) | |
tree | 99f77421dcbe6a1bed7a6f42ba5c02d252fc4b9a /funpl | |
parent | 1d5b25f72f4cb0701370c682b9df340e0c6af0a6 (diff) | |
download | specs-efee47094179a929d8cf5dbe4b75a93b533ac245.tar.gz specs-efee47094179a929d8cf5dbe4b75a93b533ac245.tar.xz specs-efee47094179a929d8cf5dbe4b75a93b533ac245.zip |
lua-inotify: update spec
Diffstat (limited to 'funpl')
-rw-r--r-- | funpl/lua-inotify.spec | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/funpl/lua-inotify.spec b/funpl/lua-inotify.spec index 289f0e6..c4ba00a 100644 --- a/funpl/lua-inotify.spec +++ b/funpl/lua-inotify.spec @@ -6,13 +6,15 @@ Name: lua-inotify Version: 1.0 -Release: 0.1.%{alphatag}%{?dist} +Release: 0.2.%{alphatag}%{?dist} Summary: Inotify bindings for Lua License: MIT URL: http://hoelz.ro/projects/linotify -# git archive --format=tar --prefix=linotify-%%{version}-%%{gitrev}/ %%{gitrev} -# | xz - > linotify-%%{version}-%%{gitrev}.tar.xz +# Source only available from Git; instructions below +# git clone git://github.com/hoelzro/linotify.git +# git archive --format=tar --prefix=linotify-%%{version}-%%{gitrev}/ \ +# %%{gitrev} | xz - > linotify-%%{version}-%%{gitrev}.tar.xz Source0: linotify-%{version}-%{gitrev}.tar.xz BuildRequires: lua-devel >= %{luaver} @@ -29,6 +31,11 @@ sed -i.nostrip -e 's|install -D -s|install -D -p|' Makefile %build +# original CFLAGS is computed using Lua's pkgconfig file, but ours +# does not set any. +# +# Overriding with the default %%{optflags}, and keeping the -fPIC +# from the original CFLAGS as the build target is a shared object make %{?_smp_mflags} CFLAGS="%{optflags} -fPIC" @@ -43,6 +50,9 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL_PATH=%{lualibdir} %changelog +* Thu Sep 8 2011 Michel Salim <salimma@fedoraproject.org> - 1.0-0.2.20110529git6d0f7a0973cfb +- add source checkout instructions +- add explanation for overriding CFLAGS + * Tue Aug 16 2011 Michel Salim <salimma@fedoraproject.org> - 1.0-0.1.20110529git6d0f7a0973cfb - Initial package - |