- Add BuildRequires: pkgconfig since we install .pc files
- Add unixODBC-rpmlintrc: devel files are in the right place OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=52
This commit is contained in:
parent
3172bd0b5d
commit
a6b55d4922
3
unixODBC-rpmlintrc
Normal file
3
unixODBC-rpmlintrc
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# All .so files are in the main package as many ext apps
|
||||||
|
# dlopen those so you need these on regular package.
|
||||||
|
addFilter("devel-file-in-non-devel-package")
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 22 14:09:43 UTC 2018 - mvetter@suse.com
|
||||||
|
|
||||||
|
- Add BuildRequires: pkgconfig since we install .pc files
|
||||||
|
- Add unixODBC-rpmlintrc: devel files are in the right place
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 19 12:53:15 UTC 2018 - mvetter@suse.com
|
Mon Mar 19 12:53:15 UTC 2018 - mvetter@suse.com
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ Group: Productivity/Databases/Tools
|
|||||||
Url: http://www.unixodbc.org/
|
Url: http://www.unixodbc.org/
|
||||||
Source0: ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-%{version}.tar.gz
|
Source0: ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-%{version}.tar.gz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
|
Source2: unixODBC-rpmlintrc
|
||||||
Patch1: unixODBC-paths.patch
|
Patch1: unixODBC-paths.patch
|
||||||
Patch2: unixODBC-gccwarnings.patch
|
Patch2: unixODBC-gccwarnings.patch
|
||||||
# https://github.com/lurcher/unixODBC/issues/8
|
# https://github.com/lurcher/unixODBC/issues/8
|
||||||
@ -35,6 +36,7 @@ BuildRequires: bison
|
|||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libltdl-devel
|
BuildRequires: libltdl-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
# bsc#1062860: to stay feature complete
|
# bsc#1062860: to stay feature complete
|
||||||
Recommends: psqlODBC
|
Recommends: psqlODBC
|
||||||
@ -99,14 +101,14 @@ rm -f "%{buildroot}/%{_libdir}"/unixODBC/libodbcpsql.*
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
%attr(644,root,root) %doc AUTHORS ChangeLog NEWS README doc/*.html doc/*.gif
|
%attr(644,root,root) %doc AUTHORS ChangeLog NEWS README doc/*.html doc/*.gif
|
||||||
%docdir %{_mandir}
|
%docdir %{_mandir}
|
||||||
%{_mandir}/man1/dltest.1%{ext_man}
|
%{_mandir}/man1/dltest.1%{?ext_man}
|
||||||
%{_mandir}/man1/isql.1%{ext_man}
|
%{_mandir}/man1/isql.1%{?ext_man}
|
||||||
%{_mandir}/man1/iusql.1%{ext_man}
|
%{_mandir}/man1/iusql.1%{?ext_man}
|
||||||
%{_mandir}/man1/odbc_config.1%{ext_man}
|
%{_mandir}/man1/odbc_config.1%{?ext_man}
|
||||||
%{_mandir}/man1/odbcinst.1%{ext_man}
|
%{_mandir}/man1/odbcinst.1%{?ext_man}
|
||||||
%{_mandir}/man5/odbc.ini.5%{ext_man}
|
%{_mandir}/man5/odbc.ini.5%{?ext_man}
|
||||||
%{_mandir}/man5/odbcinst.ini.5%{ext_man}
|
%{_mandir}/man5/odbcinst.ini.5%{?ext_man}
|
||||||
%{_mandir}/man7/unixODBC.7%{ext_man}
|
%{_mandir}/man7/unixODBC.7%{?ext_man}
|
||||||
%dir %{_sysconfdir}/%{name}
|
%dir %{_sysconfdir}/%{name}
|
||||||
%dir %{_sysconfdir}/%{name}/ODBCDataSources
|
%dir %{_sysconfdir}/%{name}/ODBCDataSources
|
||||||
%dir %{_libdir}/%{name}
|
%dir %{_libdir}/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user