summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcreate-rpm.sh18
-rw-r--r--gnome-shell-extension-fedora-logo.spec10
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