Mailinglist Archive: opensuse-contrib (148 mails)

< Previous Next >
Re: [opensuse-contrib] [obs submit-request 7614] openSUSE:Factory:Contrib/libfwbuilder: created by worldcitizen
On Fri, Mar 06, 2009 at 10:15:06AM +0000, joop_boonen@xxxxxx wrote:


home:worldcitizen/libfwbuilder -> openSUSE:Factory:Contrib/libfwbuilder


https://build.opensuse.org/package/show?package=libfwbuilder&project=home:worldcitizen

https://build.opensuse.org/package/show?package=libfwbuilder&project=openSUSE:Factory:Contrib

Description: please add a 'libfwbuilder' to Contrib

Hi all,

the package does not conform to 'shared library packaging policy' [1]

What do you think about the following patch that tries to fix it? It
only renames the package to end with its soname which is enough to
make RPMLint happy. Does it have any drawbacks or is it OK?


Index: libfwbuilder.spec
===================================================================
--- libfwbuilder.spec (revision upload)
+++ libfwbuilder.spec (working copy)
@@ -11,7 +11,7 @@
# norootforbuild

Summary: Firewall Builder API
-Name: libfwbuilder
+Name: libfwbuilder8
Version: 3.0.3
Release: 0
License: GPL2
@@ -22,7 +22,7 @@
Group: System Environment/Libraries
%endif
Url: http://www.fwbuilder.org/
-Source: %{name}-%{version}.tar.bz2
+Source: libfwbuilder-%{version}.tar.bz2
Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: libxml2-devel, libxslt-devel, openssl-devel
%if 0%{?suse_version}
@@ -34,7 +34,7 @@
%description
Firewall Builder 3.0 API library and compiler framework

-%files -n libfwbuilder
+%files
%defattr(-,root,root)
%dir %{_docdir}/%{name}/
%doc %{_docdir}/%{name}/*
@@ -68,7 +68,7 @@

%prep

-%setup
+%setup -n libfwbuilder-%{version}

%build
%if 0%{?mandriva_version} > 2006



===================================================================



[1] http://en.opensuse.org/Shared_Library_Packaging_Policy



TIA


--
Best regards / s pozdravem

Petr Uzel, Packages maintainer
---------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: puzel@xxxxxxx
Lihovarsk√° 1060/12 tel: +420 284 028 964
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz
--
To unsubscribe, e-mail: opensuse-contrib+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-contrib+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References