SHA256
1
0
forked from pool/xerces-c

Accepting request 773617 from home:scarabeus_iv:branches:devel:libraries:c_c++

- Fixup rpmlint warning about installed Makefiles

OBS-URL: https://build.opensuse.org/request/show/773617
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/xerces-c?expand=0&rev=30
This commit is contained in:
Tomáš Chvátal 2020-02-12 08:44:58 +00:00 committed by Git OBS Bridge
parent 56697ba94b
commit a06ac30199
2 changed files with 9 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 12 08:44:26 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fixup rpmlint warning about installed Makefiles
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 2 10:01:02 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com> Tue Oct 2 10:01:02 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package xerces-c # spec file for package xerces-c
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -22,8 +22,7 @@ Version: 3.2.2
Release: 0 Release: 0
Summary: A Validating XML Parser Summary: A Validating XML Parser
License: Apache-2.0 License: Apache-2.0
Group: Productivity/Publishing/XML URL: https://xerces.apache.org/xerces-c/
URL: http://xerces.apache.org/xerces-c/
Source0: http://www.apache.org/dist/xerces/c/3/sources/%{name}-%{version}.tar.gz Source0: http://www.apache.org/dist/xerces/c/3/sources/%{name}-%{version}.tar.gz
Source1: http://www.apache.org/dist/xerces/c/3/sources/%{name}-%{version}.tar.gz.asc Source1: http://www.apache.org/dist/xerces/c/3/sources/%{name}-%{version}.tar.gz.asc
Source2: %{name}.keyring Source2: %{name}.keyring
@ -44,7 +43,6 @@ faithful to the XML 1.0 recommendation and associated standards ( DOM
%package doc %package doc
Summary: Documentation for %{name} Summary: Documentation for %{name}
Group: Documentation/Other
%description doc %description doc
Xerces-C is a validating XML parser written in a portable subset of Xerces-C is a validating XML parser written in a portable subset of
@ -58,7 +56,6 @@ This package contains just documentation.
%package -n %{libname} %package -n %{libname}
Summary: Shared libraries for Xerces-c - a validating XML parser Summary: Shared libraries for Xerces-c - a validating XML parser
Group: Productivity/Publishing/XML
Provides: Xerces-c = %{version} Provides: Xerces-c = %{version}
Obsoletes: Xerces-c < %{version} Obsoletes: Xerces-c < %{version}
@ -74,7 +71,6 @@ This package contains shared libraries.
%package -n libxerces-c-devel %package -n libxerces-c-devel
Summary: A validating XML parser - Development Files Summary: A validating XML parser - Development Files
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version} Requires: %{libname} = %{version}
Provides: Xerces-c-devel = %{version} Provides: Xerces-c-devel = %{version}
Obsoletes: Xerces-c-devel < %{version} Obsoletes: Xerces-c-devel < %{version}
@ -98,11 +94,12 @@ find . -type d -name .svn -exec rm -Rf "{}" "+"
--enable-netaccessor-curl \ --enable-netaccessor-curl \
--disable-static \ --disable-static \
--disable-silent-rules --disable-silent-rules
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
rm doc/Makefile*
%fdupes -s doc %fdupes -s doc
%post -n %{libname} -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig