Synchronize required gnome-shell-version between spec-file and metadata.json; change udate-script to auto-update changelog in spec-file.

master
Jens Lody 9 years ago
parent f388fe7ae9
commit 0826039f0c
  1. 14
      gnome-shell-extension-panel-osd.spec
  2. 6
      update_revision.sh

@ -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 <jens@jenslody.de>
- Added translation files, needed for newest upstream.
* Sun Jan 26 2014 Jens Lody <jens@jenslody.de>
- Initial package for Fedora of the panel-osd-extension fork

@ -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 <fedora@jenslody.de>" ${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

Loading…
Cancel
Save