Adrian Schröter 2011-08-12 11:51:34 +00:00 committed by Git OBS Bridge
parent 6b9dfe95ee
commit 17be28e649
3 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 12 11:51:07 UTC 2011 - adrian@suse.de
- fix exclude expansion
-------------------------------------------------------------------
Mon Jun 20 08:48:12 UTC 2011 - cthiel@novell.com

View File

@ -30,7 +30,6 @@ Requires: subversion git mercurial bzr
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This is a source service for openSUSE Build Service.
@ -40,21 +39,16 @@ It supports downloading from svn, git, hg and bzr repositories.
%prep
%setup -q -D -T 0 -n .
%build
%install
mkdir -p $RPM_BUILD_ROOT/usr/lib/obs/service
install -m 0755 %{SOURCE0} $RPM_BUILD_ROOT/usr/lib/obs/service
install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/obs/service
%files
%defattr(-,root,root)
%dir /usr/lib/obs
/usr/lib/obs/service
%changelog

View File

@ -45,7 +45,7 @@ while test $# -gt 0; do
shift
;;
*-exclude)
EXCLUDES="$EXCLUDES --exclude='${2#/}'"
EXCLUDES="$EXCLUDES --exclude=${2#/}"
shift
;;
*-filename)