[lua-lgi] Update to 0.7.1.
Thomas Moschny
thm at fedoraproject.org
Thu Mar 21 17:53:20 UTC 2013
commit f5983d8741dd9348ddc87eddd94a703e804440da
Author: Thomas Moschny <thm at fedoraproject.org>
Date: Thu Mar 21 18:52:53 2013 +0100
Update to 0.7.1.
.gitignore | 1 +
lua-lgi.spec | 26 +++++++++++++-------------
sources | 2 +-
3 files changed, 15 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 636b438..56e7d3b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/0.6.2.tar.gz
+/lgi-0.7.1.tar.gz
diff --git a/lua-lgi.spec b/lua-lgi.spec
index 29b0565..b628c8b 100644
--- a/lua-lgi.spec
+++ b/lua-lgi.spec
@@ -3,24 +3,24 @@
%global luapkgdir %{_datadir}/lua/%{luaver}
Name: lua-lgi
-Version: 0.6.2
-Release: 6%{?dist}
+Version: 0.7.1
+Release: 1%{?dist}
Summary: Lua bindings to GObject libraries
License: MIT
URL: https://github.com/pavouk/lgi
-Source0: https://github.com/pavouk/lgi/archive/%{version}.tar.gz
+Source0: https://github.com/pavouk/lgi/archive/%{version}/lgi-%{version}.tar.gz
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.8
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(libffi)
BuildRequires: lua >= %{luaver}
BuildRequires: lua-devel >= %{luaver}
+BuildRequires: lua-markdown
# for the testsuite:
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(cairo-gobject)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: Xvfb xauth
-BuildRequires: lua-markdown
Requires: lua >= %{luaver}
@@ -47,11 +47,9 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%build
-# we misuse LIBFLAG here instead of patching the makefile
-# see https://github.com/pavouk/lgi/issues/32
-make %{?_smp_mflags} \
- "COPTFLAGS=%{optflags}" \
- "LIBFLAG=-shared %{__global_ldflags}"
+export CFLAGS="%{optflags}"
+export LDFLAGS="%{__global_ldflags}"
+make %{?_smp_mflags}
# generate html documentation
for f in README.md docs/*.md; do
@@ -68,10 +66,9 @@ make install \
%check
-xvfb-run -a -w 1 make check \
- "COPTFLAGS=%{optflags}" \
- "LIBFLAG=-shared %{__global_ldflags}" \
- "LIBDIR=%{_libdir}"
+export CFLAGS="%{optflags}"
+export LDFLAGS="%{__global_ldflags}"
+xvfb-run -a -w 1 make check
%files
@@ -87,6 +84,9 @@ xvfb-run -a -w 1 make check \
%changelog
+* Thu Mar 21 2013 Thomas Moschny <thomas.moschny at gmx.de> - 0.7.1-1
+- Update to 0.7.1.
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index 6361c25..8e8b83c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-61a1e501bf60d8f622728045b6675e18 0.6.2.tar.gz
+de7367aee8e39f7df7c2229675c5ff2d lgi-0.7.1.tar.gz
More information about the scm-commits
mailing list