* auto-update changelog when running update-script; set minimum gnome-shell version to 3.12, as in metadata.json

merge-requests/218/head
Jens Lody 9 years ago
parent 969419397b
commit fbd53add2f
  1. 8
      gnome-shell-extension-openweather.spec
  2. 3
      update_revision.sh

@ -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

@ -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 <fedora@jenslody.de>" ${SPEC_FILE}
cp ${SPEC_FILE} ${SPEC_PATH}${SPEC_FILE}
rm -f ${TARBALL_PATH}${GITHUB}-*.tar.gz

Loading…
Cancel
Save