Fix last commit, that broke spec-file.

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

@ -6,8 +6,7 @@
Name: gnome-shell-extension-openweather Name: gnome-shell-extension-openweather
Version: 1 Version: 1
Release: 0.0.%(date +%Y%m%d).%{checkout}%{?dist} Release: 0.0.%(date +%Y%m%d).%{checkout}%{?dist}
Summary: An extension for displaying weather notifications from Summary: An extension to display weather information from many locations in the world
http://openweathermap.org and http://forecast.io in GNOME Shell
Group: User Interface/Desktops Group: User Interface/Desktops
License: GPLv3+ License: GPLv3+

@ -42,7 +42,7 @@ mv ${SPEC_FILE} ${SPEC_FILE}.tmp
sed "1 s/%global git .*/%global git $COMMIT/" < ${SPEC_FILE}.tmp > ${SPEC_FILE} sed "1 s/%global git .*/%global git $COMMIT/" < ${SPEC_FILE}.tmp > ${SPEC_FILE}
rm -f ${SPEC_FILE}.tmp rm -f ${SPEC_FILE}.tmp
rpmdev-bumpspec --comment="new git checkout" --userstring="Jens Lody <fedora@jenslody.de>" ${SPEC_FILE} rpmdev-bumpspec --comment="Fresh git checkout." --userstring="Jens Lody <fedora@jenslody.de>" ${SPEC_FILE}
cp ${SPEC_FILE} ${SPEC_PATH}${SPEC_FILE} cp ${SPEC_FILE} ${SPEC_PATH}${SPEC_FILE}

Loading…
Cancel
Save