mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
NIX: Grab specfile from lvm2Nix (at least for now).
This commit is contained in:
parent
2f16d2ce27
commit
f6350b4568
@ -1,4 +1,4 @@
|
||||
{ nixpkgs ? <nixpkgs>, lvm2Src, release ? false, rawhide32 ? "" , rawhide64 ? "" , fc19_32 ? "" , fc19_64 ? "" }:
|
||||
{ nixpkgs ? <nixpkgs>, lvm2Src, release ? false, rawhide32 ? "" , rawhide64 ? "" , fc19_32 ? "" , fc19_64 ? "", lvm2Nix ? lvm2Src }:
|
||||
|
||||
let
|
||||
pkgs = import nixpkgs {};
|
||||
@ -138,7 +138,7 @@ let
|
||||
version=`cat VERSION | cut "-d(" -f1`${versionSuffix}
|
||||
version_dm=`cat VERSION_DM | cut "-d-" -f1`${versionSuffix}
|
||||
sed -e s,-git,${versionSuffix}, -i VERSION VERSION_DM
|
||||
mv spec/* . && rmdir spec
|
||||
rm -rf spec; cp -R ${lvm2Nix}/spec/* .
|
||||
chmod u+w *
|
||||
(echo "%define enable_profiling 1";
|
||||
echo "%define check_commands \\";
|
||||
|
Loading…
Reference in New Issue
Block a user