about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 f9fc8695f53f..99ec7f741209 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 9d459034b246..74fc18ef28ca 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