Projects
Staging
vlc-beta
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 75
View file
vlc-beta.spec
Changed
@@ -106,6 +106,7 @@ Provides: vlc-beta-qt = %{version}-%{release} Provides: vlc-beta-qt-debuginfo = %{version}-%{release} +BuildRequires: bash BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: flex @@ -265,8 +266,9 @@ %build VERSION=%{version} +echo "${VERSION##*.}" > ./src/revision.txt sed -i~ " -s@^AC_INIT.*@AC_INIT([%{name}], [%{version}])@ +s@^AC_INIT.*@AC_INIT([%{name}], [${VERSION%%.*}])@ s@^VERSION_MAJOR=.@VERSION_MAJOR=${VERSION:0:2}@ s@^VERSION_MINOR=.@VERSION_MINOR=${VERSION:2:2}@ s@^VERSION_REVISION=.@VERSION_REVISION=${VERSION:4:2}@ @@ -283,7 +285,6 @@ s/__DATE__/\"$FAKE_BUILDDATE\"/ " src/config/help.c modules/gui/qt/dialogs/help/help.cpp # -echo %{version} > ./src/revision.txt # export BUILDCC=gcc export CC=gcc
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
.