* Add $prefix/store to the RPM.

* Allow extra flags to be passed to RPM.
This commit is contained in:
Eelco Dolstra 2004-01-02 14:58:25 +00:00
parent 94175e978a
commit 0e09cc12c0
2 changed files with 2 additions and 1 deletions

View file

@ -3,4 +3,4 @@ SUBDIRS = externals src scripts corepkgs doc
EXTRA_DIST = substitute.mk nix.spec EXTRA_DIST = substitute.mk nix.spec
rpm: dist rpm: dist
rpm -ta $(distdir).tar.gz rpm $(EXTRA_RPM_FLAGS) -ta $(distdir).tar.gz

View file

@ -35,6 +35,7 @@ rm -rf $RPM_BUILD_ROOT
%{_prefix}/var %{_prefix}/var
%{_prefix}/share %{_prefix}/share
%{_prefix}/man %{_prefix}/man
%{_prefix}/store
%config %config
%{_prefix}/etc %{_prefix}/etc
#%doc #%doc