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

View File

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