diff options
Diffstat (limited to 'genome-autostarter/genome-autostarter.spec')
-rw-r--r-- | genome-autostarter/genome-autostarter.spec | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/genome-autostarter/genome-autostarter.spec b/genome-autostarter/genome-autostarter.spec index adff002..82c4cfc 100644 --- a/genome-autostarter/genome-autostarter.spec +++ b/genome-autostarter/genome-autostarter.spec @@ -1,12 +1,13 @@ Summary: Genome virtual machine autostarter Name: genome-autostarter -Source: genome-autostarter-bin.tar.gz +Source0: genome-autostarter +Source1: genome-autostarter.sh Version: 1.0.0 -Release: 1%{?dist} +Release: 6%{?dist} BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Group: Applications/System -URL: https://fedorahosting.org/genome +URL: http://genome.et.redhat.com License: GPLv2 %description @@ -14,7 +15,7 @@ Genome virtual machine autostarter %prep -%setup -c +%setup -c -T %build @@ -23,9 +24,10 @@ Genome virtual machine autostarter rm -rf $RPM_BUILD_ROOT # Create the directory structure required to lay down our files -mkdir -p $RPM_BUILD_ROOT/etc/cron.d +mkdir -p $RPM_BUILD_ROOT/etc/cron.d $RPM_BUILD_ROOT/usr/sbin -cp -R . $RPM_BUILD_ROOT/etc/cron.d +install -pm 644 %{SOURCE0} $RPM_BUILD_ROOT/etc/cron.d +install -pm 755 %{SOURCE1} $RPM_BUILD_ROOT/usr/sbin %clean rm -rf $RPM_BUILD_ROOT @@ -33,5 +35,6 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) /etc/cron.d/genome-autostarter +/usr/sbin/genome-autostarter.sh %doc |