Modify source file
This commit is contained in:
parent
28b9c3f17d
commit
ff8ffe420f
@ -1 +0,0 @@
|
|||||||
x /var/tmp/beakerlib-*
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
Name: beakerlib
|
Name: beakerlib
|
||||||
Summary: A shell-level integration testing library
|
Summary: A shell-level integration testing library
|
||||||
Version: 1.18.1
|
Version: 1.18.1
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
URL: https://github.com/%{name}/%{name}
|
URL: https://github.com/%{name}/%{name}
|
||||||
@ -23,7 +23,6 @@ Conflicts: beakerlib-redhat < 1-30
|
|||||||
BuildRequires: /usr/bin/pod2man perl-generators util-linux
|
BuildRequires: /usr/bin/pod2man perl-generators util-linux
|
||||||
|
|
||||||
Source0: https://github.com/beakerlib/beakerlib/archive/%{version}.tar.gz
|
Source0: https://github.com/beakerlib/beakerlib/archive/%{version}.tar.gz
|
||||||
Source1: %{name}-tmpfiles.conf
|
|
||||||
|
|
||||||
Patch0: bugzilla-links.patch
|
Patch0: bugzilla-links.patch
|
||||||
Patch1: python3.patch
|
Patch1: python3.patch
|
||||||
@ -44,7 +43,11 @@ make build
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make PKGDOCDIR=%{_pkgdocdir} DESTDIR=$RPM_BUILD_ROOT install
|
make PKGDOCDIR=%{_pkgdocdir} DESTDIR=$RPM_BUILD_ROOT install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_tmpfilesdir}
|
mkdir -p $RPM_BUILD_ROOT/%{_tmpfilesdir}
|
||||||
install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_tmpfilesdir}/%{name}.conf
|
touch ./beakerlib-tmpfiles.conf
|
||||||
|
cat >beakerlib-tmpfiles.conf<<EOF
|
||||||
|
x /var/tmp/beakerlib-*
|
||||||
|
EOF
|
||||||
|
install -m 0644 ./beakerlib-tmpfiles.conf $RPM_BUILD_ROOT/%{_tmpfilesdir}/%{name}.conf
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The BeakerLib project means to provide a library of various helpers, which
|
The BeakerLib project means to provide a library of various helpers, which
|
||||||
@ -79,5 +82,8 @@ Files for syntax highlighting BeakerLib tests in VIM editor
|
|||||||
%doc %{_pkgdocdir}/*
|
%doc %{_pkgdocdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 5 2021 Ge Wang <wangge20@huawei.com> - 1.18.1-2
|
||||||
|
- Modify Source file
|
||||||
|
|
||||||
* Sat Aug 1 2020 zhangxingliang <zhangxingliang3@huawei.com> - 1.18.1-1
|
* Sat Aug 1 2020 zhangxingliang <zhangxingliang3@huawei.com> - 1.18.1-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user