/
githubmirror
/
rpm
Обзор
Документация
Войти
/
githubmirror
/
rpm
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/SPECS/hello.spec
58 строк
1 KB
Michal Domonkos
Add tests for user/group lookup via NSS
16 дек 2025, 10:52
16 дек 2025, 10:52
4a9b7b5
Код
Авторство
О чём код?
# To whom it may concern: # DO NOT COPY THIS SPEC or its derivates to your testcase. That is, # unless your test-case actually requires running a compiler and # inspecting it's output. Everybody else should use a simple noarch # package which can be built under runroot in the test-suite. %bcond hello32 0 %bcond fileown 0 Summary: hello -- hello, world rpm Name: hello Version: 1.0 Release: 1 Group: Utilities License: GPL SourceLicense: GPL, ASL 1.0 Distribution: RPM test suite. URL: http://rpm.org Source0: hello-1.0.tar.gz Patch0: hello-1.0-modernize.patch Prefix: /usr %if %{with hello32} Source1: hello32 %define debug_package %{nil} %endif %description Simple rpm demonstration. %prep %setup -q %patch -p1 -b .modernize 0 %build make %install mkdir -p $RPM_BUILD_ROOT/usr/local/bin make DESTDIR=$RPM_BUILD_ROOT install %if %{with hello32} cp %{SOURCE1} $RPM_BUILD_ROOT/usr/local/bin/hello %endif %files %defattr(-,root,root) %doc FAQ #%readme README #%license COPYING %if %{with fileown} %attr(0751,foobar,foobar) /usr/local/bin/hello %else %attr(0751,root,root) /usr/local/bin/hello %endif %changelog * Tue Oct 20 1998 Jeff Johnson <jbj@redhat.com> - create.