aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2005-10-06 15:49:50 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2005-10-06 15:49:50 +0000
commit428c10bb7db168da99ff8956e3853367b40b9f80 (patch)
treef1140c7ee9d6da412d87bf2242de6ed4e8d28501
parentd8561b24db9270c4f3d4b02b51d8b9f4e6571d89 (diff)
downloadbootsplash-428c10bb7db168da99ff8956e3853367b40b9f80.tar
bootsplash-428c10bb7db168da99ff8956e3853367b40b9f80.tar.gz
bootsplash-428c10bb7db168da99ff8956e3853367b40b9f80.tar.bz2
bootsplash-428c10bb7db168da99ff8956e3853367b40b9f80.tar.xz
bootsplash-428c10bb7db168da99ff8956e3853367b40b9f80.zip
fix sources and installation
-rw-r--r--rpmbuildupdate.spec9
1 files changed, 2 insertions, 7 deletions
diff --git a/rpmbuildupdate.spec b/rpmbuildupdate.spec
index 6a4ed17..3ce2d8a 100644
--- a/rpmbuildupdate.spec
+++ b/rpmbuildupdate.spec
@@ -9,7 +9,6 @@ Summary: Helps you build up to date RPMs
License: GPL
Group: Development/Other
Source0: %{name}-%{version}.tar.bz2
-Source1: %{name}.bash-completion.bz2
BuildArch: noarch
Requires: wget
Buildroot: %{_tmppath}/%{name}-%{version}
@@ -18,17 +17,13 @@ Conflicts: rpm-rebuilder <= 0.25-1mdk
%description
%prep
-bzcat %{SOURCE0} > %{name}
-bzcat %{SOURCE1} > %{name}.bash_completion
+%setup
%build
%install
rm -rf %{buildroot}
-install -d -m 755 %{buildroot}%{_bindir}
-install -d -m 755 %{buildroot}%{_sysconfdir}/bash_completion.d
-install -m 755 %{name} %{buildroot}%{_bindir}
-install -m 644 %{name}.bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/%{name}
+make -f Makefile.rpmbuildupdate install
%clean
rm -rf %{buildroot}