diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2013-07-23 08:45:01 +0200 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2013-07-23 08:46:55 +0200 |
commit | 77786937fb64e7dd7ac9fafb382f503bc1fa9f77 (patch) | |
tree | d71edb9167ae0be8b92d6ece5e24b5b4dc862dab | |
parent | ce932dbd546fb8e0936cae44bbad8f6e1048bd2f (diff) | |
download | re2-77786937fb64e7dd7ac9fafb382f503bc1fa9f77.tar.gz re2-77786937fb64e7dd7ac9fafb382f503bc1fa9f77.tar.bz2 re2-77786937fb64e7dd7ac9fafb382f503bc1fa9f77.zip |
fix build when debug packages are enabledsubmit/tizen/20130723.074046submit/tizen/20130723.065118
Error:
Could not open %files file /home/abuild/rpmbuild/BUILD/re2/debugsources.list: No such file or directory
Solution:
add "%install", from http://lists.opensuse.org/opensuse-packaging/2011-07/msg00104.html
-rw-r--r-- | packaging/re2.changes | 3 | ||||
-rw-r--r-- | packaging/re2.spec | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/packaging/re2.changes b/packaging/re2.changes index 598b924..bcf569f 100644 --- a/packaging/re2.changes +++ b/packaging/re2.changes @@ -1,3 +1,6 @@ +* Tue Jul 23 2013 Patrick Ohly <patrick.ohly@intel.com> +- fix build when debug packages are enabled + * Tue Jul 09 2013 Patrick Ohly <patrick.ohly@intel.com> - initial packaging of version 20130115 - Imported Upstream version 20130115 diff --git a/packaging/re2.spec b/packaging/re2.spec index 64988cf..707bbd8 100644 --- a/packaging/re2.spec +++ b/packaging/re2.spec @@ -62,6 +62,7 @@ Python. It is a C++ library. %build make %{?_smp_mflags} CXXFLAGS="$RPM_OPT_FLAGS -Wall -pthread" libdir=%{_libdir} prefix=%{_prefix} +%install make DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} prefix=%{_prefix} install rm $RPM_BUILD_ROOT%{_libdir}/libre2.a |