Accepting request 286293 from Base:System

- Put C API documentation into -devel package. (forwarded request 286290 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/286293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtasn1?expand=0&rev=34
This commit is contained in:
2015-02-20 12:50:37 +00:00
committed by Git OBS Bridge
parent 8545ade6da
commit 7c4dda9b66
2 changed files with 16 additions and 10 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Feb 14 08:12:10 UTC 2015 - jengelh@inai.de
- Put C API documentation into -devel package.
Use modern %make_install. Description fix.
-------------------------------------------------------------------
Wed Oct 8 18:23:43 UTC 2014 - tabraham@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package libtasn1
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -37,27 +37,27 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %install_info_prereq
%description
This is the ASN.1 library used in GNUTLS. More up to date information
This is the ASN.1 library used by GNUTLS. More up to date information
can be found at http://www.gnu.org/software/gnutls and
http://www.gnutls.org
%package -n libtasn1-%{somajor}
Summary: ASN.1 parsing library
Group: Productivity/Networking/Security
Group: System/Libraries
Requires: %{name} >= %{version}
%description -n libtasn1-%{somajor}
This is the ASN.1 library used in GNUTLS. More up to date information
This is the ASN.1 library used by GNUTLS. More up to date information
can be found at http://www.gnu.org/software/gnutls and
http://www.gnutls.org
%package devel
Requires: libtasn1-%{somajor} = %{version}
Summary: ASN.1 parsing library
Summary: Development files for the ASN.1 parsing library
Group: Development/Libraries/C and C++
Requires: libtasn1-%{somajor} = %{version}
%description devel
This is the ASN.1 library used in GNUTLS. More up to date information
This is the ASN.1 library used by GNUTLS. More up to date information
can be found at http://www.gnu.org/software/gnutls and
http://www.gnutls.org
@@ -66,10 +66,10 @@ http://www.gnutls.org
%build
%configure --disable-static
%__make %{?_smp_mflags} V=1
make %{?_smp_mflags} V=1
%install
%makeinstall
%make_install
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
%check
@@ -90,7 +90,6 @@ make check
%doc ChangeLog NEWS README THANKS
%{_bindir}/*
%{_mandir}/man1/*.1.gz
%{_mandir}/man3/*.3.gz
%{_infodir}/*.info.gz
%files -n libtasn1-%{somajor}
@@ -102,5 +101,6 @@ make check
%{_includedir}/*.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/libtasn1.pc
%{_mandir}/man3/*.3.gz
%changelog