From fbd53add2fc14b83f7d956b60cbaf3f4cd635cde Mon Sep 17 00:00:00 2001 From: Jens Lody Date: Sat, 25 Jul 2015 15:24:33 +0200 Subject: [PATCH] * auto-update changelog when running update-script; set minimum gnome-shell version to 3.12, as in metadata.json --- gnome-shell-extension-openweather.spec | 8 ++++---- update_revision.sh | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gnome-shell-extension-openweather.spec b/gnome-shell-extension-openweather.spec index 984aeab..01ae6fd 100644 --- a/gnome-shell-extension-openweather.spec +++ b/gnome-shell-extension-openweather.spec @@ -4,8 +4,8 @@ %global checkout git%{git} Name: gnome-shell-extension-openweather -Version: 0 -Release: 0.2.%(date +%Y%m%d).%{checkout}%{?dist} +Version: 1 +Release: 0.0.%(date +%Y%m%d).%{checkout}%{?dist} Summary: An extension for displaying weather notifications from http://openweathermap.org in GNOME Shell Group: User Interface/Desktops @@ -14,8 +14,8 @@ URL: https://github.com/jenslody/gnome-shell-extension-openweather Source0: https://github.com/jenslody/gnome-shell-extension-openweather/tarball/master/%{github}-%{git}.tar.gz BuildArch: noarch -BuildRequires: autoconf >= 2.53, automake >= 1.9, glib2-devel, gnome-common >= 3.6.0, intltool >= 0.25 -Requires: gnome-shell >= 3.6.0 +BuildRequires: autoconf >= 2.53, automake >= 1.9, glib2-devel, gnome-common >= 3.12.0, intltool >= 0.25 +Requires: gnome-shell >= 3.12.0 %description gnome-shell-extension-openweather is an extension to display weather information diff --git a/update_revision.sh b/update_revision.sh index 7a35c20..3962297 100755 --- a/update_revision.sh +++ b/update_revision.sh @@ -41,6 +41,9 @@ echo "Found revision: '${COMMIT}'" mv ${SPEC_FILE} ${SPEC_FILE}.tmp sed "1 s/%global git .*/%global git $COMMIT/" < ${SPEC_FILE}.tmp > ${SPEC_FILE} rm -f ${SPEC_FILE}.tmp + +rpmdev-bumpspec --comment="new git checkout" --userstring="Jens Lody " ${SPEC_FILE} + cp ${SPEC_FILE} ${SPEC_PATH}${SPEC_FILE} rm -f ${TARBALL_PATH}${GITHUB}-*.tar.gz