Projects
home:sagiben
kodi
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 47
View file
kodi.spec
Changed
@@ -291,9 +291,9 @@ -e 's:lib/${APP_NAME_LC}:lib64/${APP_NAME_LC}:g' \ project/cmake/scripts/common/addon-helpers.cmake %endif - ### + %build chmod +x bootstrap ./bootstrap @@ -369,12 +369,20 @@ pushd project/cmake/addons %cmake \ - -DBUILD_DIR=build \ + -DBUILD_DIR=build \ -DBUILD_SHARED_LIBS=1 \ -DNEED_SUDO=FALSE \ -DAPP_LIB_DIR=%{buildroot}%{_libdir}/kodi/ \ -DCMAKE_INSTALL_LIBDIR=%{buildroot}%{_libdir}/kodi/ \ -DCMAKE_INSTALL_PREFIX=%{buildroot}%{_prefix} + +# Remove build time references so build-compare can do its work +FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') +FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S') +for file in audiodecoder.timidity/lib/timidity/timidity/speex_a.c; do + sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" $file +done + make %{?_smp_mflags} popd
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.