[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] master - NIX: Grab specfile from lvm2Nix (at least for now).



Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=f6350b4568ee50d3c90aa883ca0cd9eee1410448
Commit:        f6350b4568ee50d3c90aa883ca0cd9eee1410448
Parent:        2f16d2ce27ffe2b78490c270b009ee48da04130f
Author:        Petr Rockai <prockai redhat com>
AuthorDate:    Sun May 26 18:13:25 2013 +0200
Committer:     Petr Rockai <me mornfall net>
CommitterDate: Fri Feb 28 11:23:49 2014 +0100

NIX: Grab specfile from lvm2Nix (at least for now).

---
 release.nix |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/release.nix b/release.nix
index 8ca13db..981609f 100644
--- a/release.nix
+++ b/release.nix
@@ -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 \\";


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]