Projects
Tools
arcanist
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 10
View file
arcanist.spec
Changed
@@ -13,7 +13,8 @@ Requires: bash-completion Requires: php(language) >= 5 -Requires: arcanist(libphutil) +Requires: arcanist(libphutil) <= 20160906 +Requires: arcanist(libphutil) >= 20160706 %description A command line interface to Phabricator
View file
update.sh
Changed
@@ -14,7 +14,10 @@ git_short_version_hash=$(git rev-parse --short HEAD) git_full_version_hash=$(git rev-parse HEAD) -commitdate=$(date +%Y%m%d --date @$(git log HEAD^1..HEAD --oneline --format=%ct | head -n 1)) +commitepoch=$(git log HEAD^1..HEAD --oneline --format=%ct | head -n 1) +commitdate=$(date +%Y%m%d --date @${commitepoch}) +month_behind=$(date +%Y%m%d --date @$(( ${commitepoch} - ( 31 * 24 * 3600 ) ))) +month_ahead=$(date +%Y%m%d --date @$(( ${commitepoch} + ( 31 * 24 * 3600 ) ))) popd @@ -27,6 +30,8 @@ -e "s/git_short_version_hash .*/git_short_version_hash ${git_short_version_hash}/g" \ -e "s/git_full_version_hash .*/git_full_version_hash ${git_full_version_hash}/g" \ -e "s/Version:(\s+)0-9+/Version:\1${commitdate}/g" \ + -e "s/Requires:(\s+)arcanist\(libphutil\) >= 0-9+/Requires:\1arcanist\(libphutil\) >= ${month_behind}/g" \ + -e "s/Requires:(\s+)arcanist\(libphutil\) <= 0-9+/Requires:\1arcanist\(libphutil\) <= ${month_ahead}/g" \ arcanist.spec rm -rf *.src.rpm
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
.