From 8b77b5272bb86dd5e5598641efa967a1bb67e80a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 14 Apr 2012 00:35:26 +0000 Subject: [PATCH] - recompile discid, package not noarch Changed files: datacrow.spec -> 1.2 --- datacrow.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/datacrow.spec b/datacrow.spec index 8666814..1a3506e 100644 --- a/datacrow.spec +++ b/datacrow.spec @@ -1,12 +1,12 @@ # TODO # - bashism: Requires: /bin/bash -# - bundled ix86 binaries: Requires: libc.so.6 libc.so.6(GLIBC_2.0) +# - try use xdg paths %define ver %(echo %{version} | tr . _) Summary: Data Crow is a movie, video, book, software, and music cataloguer/database Name: datacrow Version: 3.9.3 -Release: 0.3 +Release: 0.4 License: GPL v3 Group: X11/Applications URL: http://www.datacrow.net/ @@ -59,7 +59,6 @@ Requires: jre >= 1.6 #Requires: liquidlnf #Requires: metadata-extractor #Requires: xalan-j2-xsltc -BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -93,6 +92,8 @@ instance remotely at the same time. mv %{name}/* . %build +%{__cc} %{rpmcxxflags} %{rpmcflags} %{rpmldflags} -o discid plugins/discid/linux/discid.c + export LC_ALL=en_US # source code not US-ASCII %ant \ -Dfile.encoding=iso-8859-1 @@ -101,7 +102,7 @@ export LC_ALL=en_US # source code not US-ASCII rm -rf $RPM_BUILD_ROOT # discid install -d $RPM_BUILD_ROOT%{_bindir} -install -p plugins/discid/linux/discid $RPM_BUILD_ROOT%{_bindir} +install -p discid $RPM_BUILD_ROOT%{_bindir} # jars install -d $RPM_BUILD_ROOT%{_javadir}/%{name} -- 2.43.0