From 0826039f0c82189ad441a1c3b692d9e081c98a73 Mon Sep 17 00:00:00 2001 From: Jens Lody Date: Sat, 25 Jul 2015 18:21:46 +0200 Subject: [PATCH] Synchronize required gnome-shell-version between spec-file and metadata.json; change udate-script to auto-update changelog in spec-file. --- gnome-shell-extension-panel-osd.spec | 14 +++++--------- update_revision.sh | 6 +++++- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gnome-shell-extension-panel-osd.spec b/gnome-shell-extension-panel-osd.spec index 3afb6f6..aee6800 100644 --- a/gnome-shell-extension-panel-osd.spec +++ b/gnome-shell-extension-panel-osd.spec @@ -5,8 +5,8 @@ Name: gnome-shell-extension-panel-osd Version: 1 -Release: 0.2.%(date +%Y%m%d).%{checkout}%{?dist} -Summary: An extension to show the notification messages below the top-panel instead of above the message tray +Release: 0.0.%(date +%Y%m%d).%{checkout}%{?dist} +Summary: An extension to configure the place where notifications are shown Group: User Interface/Desktops License: GPLv3+ @@ -14,15 +14,13 @@ URL: https://github.com/jenslody/gnome-shell-extension-panel-osd Source0: https://github.com/jenslody/gnome-shell-extension-panel-osd/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.10.0, intltool >= 0.25 +Requires: gnome-shell >= 3.10.0 -Obsoletes: gnome-shell-extension-top-notification -Provides: gnome-shell-extension-top-notification %description gnome-shell-extension-panel-osd is an extension to show the notification -messages below the top-panel instead of above the message tray +messages at any (configurable) place on the (primary) monitor. %prep %setup -q -n %{github}-%{git} @@ -50,8 +48,6 @@ fi %{_datadir}/gnome-shell/extensions/%{uuid}/ %changelog -* Sat Feb 22 2014 Jens Lody -- Added translation files, needed for newest upstream. * Sun Jan 26 2014 Jens Lody - Initial package for Fedora of the panel-osd-extension fork diff --git a/update_revision.sh b/update_revision.sh index 68fa019..f868ddf 100755 --- a/update_revision.sh +++ b/update_revision.sh @@ -40,8 +40,12 @@ 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="Fresh git checkout." --userstring="Jens Lody " ${SPEC_FILE} + cp ${SPEC_FILE} ${SPEC_PATH}${SPEC_FILE} +rm -f ${SPEC_FILE} +mv ${SPEC_FILE}.tmp ${SPEC_FILE} rm -f ${TARBALL_PATH}${GITHUB}-*.tar.gz wget -c ${BASE_URL}${GITHUB}-${COMMIT}.tar.gz -O ${TARBALL_PATH}${GITHUB}-${COMMIT}.tar.gz