X-Git-Url: https://git.tld-linux.org/?p=packages%2Flvm2.git;a=blobdiff_plain;f=lvm2.spec;fp=lvm2.spec;h=62a5affe741f296e11a4c94c5b3ff9a4d7b7045d;hp=07368d816eb31b99e6241e48ad010aa0ae907b8f;hb=52547c3951058ccc190d649b2787a2b0564dc5e6;hpb=0d154f6c77872009ad5a658e5c76600727aa22e2 diff --git a/lvm2.spec b/lvm2.spec index 07368d8..62a5aff 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -28,15 +28,18 @@ %undefine with_lvmdbusd %endif +%define ver 2.03.07 +%define tgz_ver %(echo %{version} | tr . _) + Summary: The new version of Logical Volume Manager for Linux Summary(pl.UTF-8): Nowa wersja Logical Volume Managera dla Linuksa Name: lvm2 -Version: 2.03.05 -Release: 2 +Version: %{ver} +Release: 1 License: GPL v2 and LGPL v2.1 Group: Applications/System -Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz -# Source0-md5: 22e4a9e66b94bbfcf81444472ed32a2d +Source0: https://github.com/lvmteam/lvm2/archive/v%{tgz_ver}.tar.gz +# Source0-md5: 044cb75adf19abd6723fed1ee8bf5776 Patch0: %{name}-selinux.patch Patch1: device-mapper-dmsetup-export.patch Patch2: %{name}-tld_init.patch @@ -278,7 +281,7 @@ Static devmapper library built with dietlibc. Statyczna biblioteka devmapper zbudowana z dietlibc. %prep -%setup -q -n LVM2.%{version} +%setup -q -n lvm2-%{tgz_ver} %{?with_selinux:%patch0 -p1} %patch1 -p1 %patch2 -p1