You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
697 B
53 lines
697 B
2 years ago
|
Name: test-package
|
||
|
Version: 1.0.0
|
||
|
Release: 1%{dist}.inferit
|
||
|
Summary: Test package
|
||
|
License: Inferit License
|
||
|
Group: System Environment/Base
|
||
|
Source: %{name}-%{version}.tar.bz2
|
||
|
|
||
|
AutoReq: 0
|
||
|
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||
|
|
||
|
%description
|
||
|
This package provides test package
|
||
|
|
||
|
%check
|
||
|
exit 0
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
exit 0
|
||
|
|
||
|
%install
|
||
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||
|
install -D -m 755 src/hello.sh $RPM_BUILD_ROOT%{_sbindir}/hello.sh
|
||
|
|
||
|
|
||
|
%clean
|
||
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
|
||
|
|
||
|
%post
|
||
|
exit 0
|
||
|
|
||
|
|
||
|
%posttrans
|
||
|
exit 0
|
||
|
|
||
|
|
||
|
%preun
|
||
|
exit 0
|
||
|
|
||
|
|
||
|
%files
|
||
|
%{_sbindir}/hello.sh
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
|
||
|
* Tue Apr 04 2023 Pavel Negrobob <Pavel.Negrobov@softline.com> 1.0.0-1
|
||
|
- First release
|