LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File example2.spec of Package example2 (Project home:crbaird)

Name:    example2
Version: 1.0
Release: 1%{?dist}
Summary: An example RPM
License: ASL 2.0



%description
Example2 foo.

%prep

%build

%install
%define my_perl %(which perl)
%{__mkdir_p} $RPM_BUILD_ROOT/bin
%{__cat} << EOF > %{buildroot}/bin/example.pl
#!%{my_perl}
print "Ha ha, world.\n";
EOF

%files
%attr(4755, root, root) /bin/example.pl