Accepting request 84690 from home:AndreasStieger:branches:network:utilities

remove dependency on licenses, no longer in Factory

OBS-URL: https://build.opensuse.org/request/show/84690
OBS-URL: https://build.opensuse.org/package/show/network:utilities/libmetalink?expand=0&rev=6
This commit is contained in:
Andreas Stieger 2011-09-24 21:27:29 +00:00 committed by Git OBS Bridge
parent 3fe48ed6e7
commit c4c7eda008
2 changed files with 5 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Sep 24 21:08:12 UTC 2011 - andreas.stieger@gmx.de
- remove dependency on licenses, no longer in Factory
-------------------------------------------------------------------
Sun Nov 8 21:07:05 UTC 2009 - pascal.bleser@opensuse.org

View File

@ -20,9 +20,6 @@ BuildRequires: libexpat-devel
BuildRequires: expat
%endif
BuildRequires: autoconf automake libtool
%if 0%{?suse_version} >= 1030
BuildRequires: licenses
%endif
%description
Libmetalink is a Metalink library written in C language. It is intended to
@ -32,9 +29,6 @@ Metalink XML files.
%package -n libmetalink%{soname}
Summary: Metalink Library
Group: System/Libraries
%if 0%{?suse_version} >= 1030
Requires: licenses
%endif
%description -n libmetalink%{soname}
Libmetalink is a Metalink library written in C language. It is intended to
@ -79,9 +73,6 @@ Metalink XML files.
%__rm -rf "%{buildroot}%{_datadir}/doc"
%__rm "%{buildroot}%{_libdir}"/*.la
h=/usr/share/doc/licenses/md5/$(md5sum COPYING|cut -f1 -d" ")
test -e "$h" && %__ln_s -f "$h" COPYING
%post -n libmetalink%{soname} -p /sbin/ldconfig
%postun -n libmetalink%{soname} -p /sbin/ldconfig