aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--numlock.spec2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1953384..5ff29e5 100644
--- a/Makefile
+++ b/Makefile
@@ -39,10 +39,12 @@ dis:
find $(NAME)-$(VERSION) -type d -name CVS -o -name .cvsignore -o -name unused |xargs rm -rf
tar cf ../$(NAME)-$(VERSION).tar $(NAME)-$(VERSION)
bzip2 -9f ../$(NAME)-$(VERSION).tar
+ chmod 644 ../$(NAME)-$(VERSION).tar.bz2
rm -rf $(NAME)-$(VERSION)
rpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM)
cp -f ../$(NAME)-$(VERSION).tar.bz2 $(RPM)/SOURCES
+ chmod 644 $(NAME).spec
cp -f $(NAME).spec $(RPM)/SPECS/
-rpm -ba --clean --rmsource $(NAME).spec
rm -f ../$(NAME)-$(VERSION).tar.bz2
diff --git a/numlock.spec b/numlock.spec
index f3c0318..95b62df 100644
--- a/numlock.spec
+++ b/numlock.spec
@@ -9,7 +9,7 @@ Summary: Numlock key locker
Name: %{name}
Version: %{version}
Release: %{release}
-Copyright: GPL
+License: GPL
Group: System/Configuration/Boot and Init
Source0: %{name}-%{version}.tar.bz2
BuildRequires: XFree86-devel