forked from pool/util-linux
check script does not support macro inside Source. Hardcode major version.
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=364
This commit is contained in:
parent
5c9bf99a7d
commit
555aba99d9
@ -117,7 +117,6 @@ BuildRequires: libmount-devel
|
|||||||
%endif
|
%endif
|
||||||
#END SECOND STAGE DEPENDENCIES
|
#END SECOND STAGE DEPENDENCIES
|
||||||
Version: 2.31.1
|
Version: 2.31.1
|
||||||
%define major_version %(echo '%{version}' | (IFS='.' ; read MAJOR MINOR RELEASE ; echo $MAJOR.$MINOR) )
|
|
||||||
Release: 0
|
Release: 0
|
||||||
# util-linux is a base package and uuidd pre-requiring pwdutils pulls
|
# util-linux is a base package and uuidd pre-requiring pwdutils pulls
|
||||||
# that into the core build cycle. pwdutils also pulls in the whole
|
# that into the core build cycle. pwdutils also pulls in the whole
|
||||||
@ -126,7 +125,7 @@ Release: 0
|
|||||||
# these tools as well
|
# these tools as well
|
||||||
#!BuildIgnore: pwdutils
|
#!BuildIgnore: pwdutils
|
||||||
Url: https://www.kernel.org/pub/linux/utils/util-linux/
|
Url: https://www.kernel.org/pub/linux/utils/util-linux/
|
||||||
Source: https://www.kernel.org/pub/linux/utils/util-linux/v%{major_version}/util-linux-%{version}.tar.xz
|
Source: https://www.kernel.org/pub/linux/utils/util-linux/v2.31/util-linux-%{version}.tar.xz
|
||||||
Source1: util-linux-rpmlintrc
|
Source1: util-linux-rpmlintrc
|
||||||
Source4: raw.service
|
Source4: raw.service
|
||||||
Source5: etc.raw
|
Source5: etc.raw
|
||||||
@ -136,7 +135,7 @@ Source8: login.pamd
|
|||||||
Source9: remote.pamd
|
Source9: remote.pamd
|
||||||
Source10: su.pamd
|
Source10: su.pamd
|
||||||
Source11: su.default
|
Source11: su.default
|
||||||
Source12: https://www.kernel.org/pub/linux/utils/util-linux/v%{major_version}/util-linux-%{version}.tar.sign
|
Source12: https://www.kernel.org/pub/linux/utils/util-linux/v2.31/util-linux-%{version}.tar.sign
|
||||||
Source13: %{_name}.keyring
|
Source13: %{_name}.keyring
|
||||||
Source14: runuser.pamd
|
Source14: runuser.pamd
|
||||||
# klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050
|
# klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050
|
||||||
|
@ -117,7 +117,6 @@ BuildRequires: libmount-devel
|
|||||||
%endif
|
%endif
|
||||||
#END SECOND STAGE DEPENDENCIES
|
#END SECOND STAGE DEPENDENCIES
|
||||||
Version: 2.31.1
|
Version: 2.31.1
|
||||||
%define major_version %(echo '%{version}' | (IFS='.' ; read MAJOR MINOR RELEASE ; echo $MAJOR.$MINOR) )
|
|
||||||
Release: 0
|
Release: 0
|
||||||
# util-linux is a base package and uuidd pre-requiring pwdutils pulls
|
# util-linux is a base package and uuidd pre-requiring pwdutils pulls
|
||||||
# that into the core build cycle. pwdutils also pulls in the whole
|
# that into the core build cycle. pwdutils also pulls in the whole
|
||||||
@ -126,7 +125,7 @@ Release: 0
|
|||||||
# these tools as well
|
# these tools as well
|
||||||
#!BuildIgnore: pwdutils
|
#!BuildIgnore: pwdutils
|
||||||
Url: https://www.kernel.org/pub/linux/utils/util-linux/
|
Url: https://www.kernel.org/pub/linux/utils/util-linux/
|
||||||
Source: https://www.kernel.org/pub/linux/utils/util-linux/v%{major_version}/util-linux-%{version}.tar.xz
|
Source: https://www.kernel.org/pub/linux/utils/util-linux/v2.31/util-linux-%{version}.tar.xz
|
||||||
Source1: util-linux-rpmlintrc
|
Source1: util-linux-rpmlintrc
|
||||||
Source4: raw.service
|
Source4: raw.service
|
||||||
Source5: etc.raw
|
Source5: etc.raw
|
||||||
@ -136,7 +135,7 @@ Source8: login.pamd
|
|||||||
Source9: remote.pamd
|
Source9: remote.pamd
|
||||||
Source10: su.pamd
|
Source10: su.pamd
|
||||||
Source11: su.default
|
Source11: su.default
|
||||||
Source12: https://www.kernel.org/pub/linux/utils/util-linux/v%{major_version}/util-linux-%{version}.tar.sign
|
Source12: https://www.kernel.org/pub/linux/utils/util-linux/v2.31/util-linux-%{version}.tar.sign
|
||||||
Source13: %{_name}.keyring
|
Source13: %{_name}.keyring
|
||||||
Source14: runuser.pamd
|
Source14: runuser.pamd
|
||||||
# klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050
|
# klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050
|
||||||
|
@ -117,7 +117,6 @@ BuildRequires: libmount-devel
|
|||||||
%endif
|
%endif
|
||||||
#END SECOND STAGE DEPENDENCIES
|
#END SECOND STAGE DEPENDENCIES
|
||||||
Version: 2.31.1
|
Version: 2.31.1
|
||||||
%define major_version %(echo '%{version}' | (IFS='.' ; read MAJOR MINOR RELEASE ; echo $MAJOR.$MINOR) )
|
|
||||||
Release: 0
|
Release: 0
|
||||||
# util-linux is a base package and uuidd pre-requiring pwdutils pulls
|
# util-linux is a base package and uuidd pre-requiring pwdutils pulls
|
||||||
# that into the core build cycle. pwdutils also pulls in the whole
|
# that into the core build cycle. pwdutils also pulls in the whole
|
||||||
@ -126,7 +125,7 @@ Release: 0
|
|||||||
# these tools as well
|
# these tools as well
|
||||||
#!BuildIgnore: pwdutils
|
#!BuildIgnore: pwdutils
|
||||||
Url: https://www.kernel.org/pub/linux/utils/util-linux/
|
Url: https://www.kernel.org/pub/linux/utils/util-linux/
|
||||||
Source: https://www.kernel.org/pub/linux/utils/util-linux/v%{major_version}/util-linux-%{version}.tar.xz
|
Source: https://www.kernel.org/pub/linux/utils/util-linux/v2.31/util-linux-%{version}.tar.xz
|
||||||
Source1: util-linux-rpmlintrc
|
Source1: util-linux-rpmlintrc
|
||||||
Source4: raw.service
|
Source4: raw.service
|
||||||
Source5: etc.raw
|
Source5: etc.raw
|
||||||
@ -136,7 +135,7 @@ Source8: login.pamd
|
|||||||
Source9: remote.pamd
|
Source9: remote.pamd
|
||||||
Source10: su.pamd
|
Source10: su.pamd
|
||||||
Source11: su.default
|
Source11: su.default
|
||||||
Source12: https://www.kernel.org/pub/linux/utils/util-linux/v%{major_version}/util-linux-%{version}.tar.sign
|
Source12: https://www.kernel.org/pub/linux/utils/util-linux/v2.31/util-linux-%{version}.tar.sign
|
||||||
Source13: %{_name}.keyring
|
Source13: %{_name}.keyring
|
||||||
Source14: runuser.pamd
|
Source14: runuser.pamd
|
||||||
# klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050
|
# klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050
|
||||||
|
Loading…
Reference in New Issue
Block a user