about summary refs log tree commit diff
path: root/rpm
diff options
context:
space:
mode:
Diffstat (limited to 'rpm')
-rw-r--r--rpm/rpmrc1
-rw-r--r--rpm/template16
2 files changed, 16 insertions, 1 deletions
diff --git a/rpm/rpmrc b/rpm/rpmrc
index e4d66e971d..5579659a82 100644
--- a/rpm/rpmrc
+++ b/rpm/rpmrc
@@ -1,4 +1,3 @@
-builddir: .
 rpmdir: .
 srcrpmdir: .
 specdir: .
diff --git a/rpm/template b/rpm/template
index 3d88336608..f4c2e9f7d7 100644
--- a/rpm/template
+++ b/rpm/template
@@ -4,5 +4,21 @@ Group: Development/Libraries/Libc
 Version: @VERSION@
 Release: 1
 Copyright: LGPL, GPL
+Source: glibc-@VERSION@.tar.gz
+
+%prep
+%setup
+
+%build
+configure --prefix=/usr
+cat >configparms <<EOF
+slibdir=/lib
+sysconfdir=/etc
+EOF
+make
+
+%install
+make install
 
 %files
+%doc FAQ NEWS NOTES README