summaryrefslogtreecommitdiff
path: root/tests/data/SPECS/triggers.spec
blob: ae447b60b31ebbfbc2aef2cc027ecb0ba1724be6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Name:           triggers
Version:        1.0
Release:        %{rel}
Summary:        Testing trigger behavior
Group:          Testing
License:        GPL
BuildArch:	noarch

%description
%{summary}

%files
%defattr(-,root,root,-)

%triggerprein -- %{trigpkg}
echo %{name}-%{version}-%{release} TRIGGERPREIN $*

%triggerin -- %{trigpkg}
echo %{name}-%{version}-%{release} TRIGGERIN $*

%triggerun -- %{trigpkg}
echo %{name}-%{version}-%{release} TRIGGERUN $*

%triggerpostun -- %{trigpkg}
echo %{name}-%{version}-%{release} TRIGGERPOSTUN $*