Modify source file

This commit is contained in:
wang--ge 2021-01-05 18:45:16 +08:00
parent 28b9c3f17d
commit ff8ffe420f
2 changed files with 9 additions and 4 deletions

View File

@ -1 +0,0 @@
x /var/tmp/beakerlib-*

View File

@ -1,7 +1,7 @@
Name: beakerlib
Summary: A shell-level integration testing library
Version: 1.18.1
Release: 1
Release: 2
License: GPLv2
BuildArch: noarch
URL: https://github.com/%{name}/%{name}
@ -23,7 +23,6 @@ Conflicts: beakerlib-redhat < 1-30
BuildRequires: /usr/bin/pod2man perl-generators util-linux
Source0: https://github.com/beakerlib/beakerlib/archive/%{version}.tar.gz
Source1: %{name}-tmpfiles.conf
Patch0: bugzilla-links.patch
Patch1: python3.patch
@ -44,7 +43,11 @@ make build
rm -rf $RPM_BUILD_ROOT
make PKGDOCDIR=%{_pkgdocdir} DESTDIR=$RPM_BUILD_ROOT install
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
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}/*
%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
- Package init