diff options
author | Timur Kristóf <venemo@msn.com> | 2011-05-16 21:15:13 +0200 |
---|---|---|
committer | Timur Kristóf <venemo@msn.com> | 2011-05-16 21:15:13 +0200 |
commit | af0ae76363c8bac3168bb84b52867e38c76ef449 (patch) | |
tree | 4e9e9d7b3ba3a302bab931b2e8e8f35df5348fe6 | |
parent | 73b7d937d84f991f4cf64cdf6ed84d65c114f695 (diff) | |
download | gnome-shell-extension-fedora-logo-af0ae76363c8bac3168bb84b52867e38c76ef449.tar.gz gnome-shell-extension-fedora-logo-af0ae76363c8bac3168bb84b52867e38c76ef449.tar.xz gnome-shell-extension-fedora-logo-af0ae76363c8bac3168bb84b52867e38c76ef449.zip |
-rwxr-xr-x | create-rpm.sh | 18 | ||||
-rw-r--r-- | gnome-shell-extension-fedora-logo.spec | 10 |
2 files changed, 11 insertions, 17 deletions
diff --git a/create-rpm.sh b/create-rpm.sh index 08bcd97..ca7482f 100755 --- a/create-rpm.sh +++ b/create-rpm.sh @@ -1,15 +1,7 @@ -PROJECT='gnome-shell-extension-fedora-logo' -VERSION='1.0' +PROJECT=$(basename `pwd`) +VERSION=`git tag | sed -e "s/v//g"` +git archive --format=tar --prefix=$PROJECT-$VERSION/ v$VERSION | gzip -n > $PROJECT-$VERSION.tar.gz -TARBALLDIR=$PROJECT-$VERSION - -rm $TARBALLDIR.tar.gz -mkdir $TARBALLDIR -cp * $TARBALLDIR/ -tar -cf $TARBALLDIR.tar $TARBALLDIR -rm -rf $TARBALLDIR -gzip $TARBALLDIR.tar - -cp $TARBALLDIR.tar.gz ~/rpmbuild/SOURCES/ -cp $PROJECT.spec ~/rpmbuild/SPECS/ +mv $PROJECT-$VERSION.tar.gz ~/rpmbuild/SOURCES/ +cp rpm/$PROJECT.spec ~/rpmbuild/SPECS/ rpmbuild -ba ~/rpmbuild/SPECS/$PROJECT.spec diff --git a/gnome-shell-extension-fedora-logo.spec b/gnome-shell-extension-fedora-logo.spec index 9b195c2..d7a77fb 100644 --- a/gnome-shell-extension-fedora-logo.spec +++ b/gnome-shell-extension-fedora-logo.spec @@ -13,9 +13,8 @@ Requires: gnome-shell >= 3.0.0.2, fedora-logos Obsoletes: fedora-logo-gnome-shell-extension %description -%{name} is a simple Gnome shell extension -that adds the Fedora logo to the Activities button -of the Gnome shell. +%{name} is a simple Gnome shell extension that adds the Fedora logo +to the Activities button of the Gnome shell. %prep %setup -q @@ -37,5 +36,8 @@ install -pm 644 metadata.json $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/ %doc README %changelog -* Sun Apr 10 2011 Timur Kristóf <venemo@msn.com> 1.0.0-1 +* Sun May 16 2011 Timur Kristóf <venemo@fedoraproject.org> 1.0-2 +- Fixed issues in the review request (RHBZ#696357) + +* Sun Apr 10 2011 Timur Kristóf <venemo@fedoraproject.org> 1.0-1 - Initial version |