summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-01-02 14:58:25 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-01-02 14:58:25 +0000
commit0e09cc12c08ad2db0b8620ca537bd81ca45c05df (patch)
treec5f62298d5ab0daf5eeb206343e9b2fdfe3c09af
parent94175e978a87a79f3362879898dc1cf7d08d7791 (diff)
downloadguix-0e09cc12c08ad2db0b8620ca537bd81ca45c05df.tar.gz
* Add $prefix/store to the RPM.
* Allow extra flags to be passed to RPM.

-rw-r--r--Makefile.am2
-rw-r--r--nix.spec1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index f9fc8695f5..99ec7f7412 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,4 +3,4 @@ SUBDIRS = externals src scripts corepkgs doc
 EXTRA_DIST = substitute.mk nix.spec
 
 rpm: dist
-	rpm -ta $(distdir).tar.gz
+	rpm $(EXTRA_RPM_FLAGS) -ta $(distdir).tar.gz
diff --git a/nix.spec b/nix.spec
index 9d459034b2..74fc18ef28 100644
--- a/nix.spec
+++ b/nix.spec
@@ -35,6 +35,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_prefix}/var
 %{_prefix}/share
 %{_prefix}/man
+%{_prefix}/store
 %config
 %{_prefix}/etc
 #%doc