!21 [sync] PR-19: cleanup spec
From: @openeuler-sync-bot Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
8d869892fc
@ -1,8 +1,8 @@
|
|||||||
Name: libconfig
|
Name: libconfig
|
||||||
Version: 1.7.3
|
Version: 1.7.3
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: C/C++ Configuration File Library
|
Summary: C/C++ Configuration File Library
|
||||||
License: LGPLv2+
|
License: LGPL-2.1-or-later AND GPL-3.0-or-later WITH Bison-exception-2.2
|
||||||
URL: http://www.hyperrealm.com/libconfig/libconfig.html
|
URL: http://www.hyperrealm.com/libconfig/libconfig.html
|
||||||
# This tarball comes from libconfig-1.7.2/docs/dist/libconfig-1.7.2.tar.gz
|
# This tarball comes from libconfig-1.7.2/docs/dist/libconfig-1.7.2.tar.gz
|
||||||
# in archive(https://github.com/hyperrealm/libconfig/archive/v1.7.2.tar.gz)
|
# in archive(https://github.com/hyperrealm/libconfig/archive/v1.7.2.tar.gz)
|
||||||
@ -17,6 +17,7 @@ Patch6002: backport-Added-unit-test-for-config_read.patch
|
|||||||
Patch9000: add-to-strbuf_append_string.patch
|
Patch9000: add-to-strbuf_append_string.patch
|
||||||
|
|
||||||
BuildRequires: gcc gcc-c++ bison flex
|
BuildRequires: gcc gcc-c++ bison flex
|
||||||
|
BuildRequires: cmake-rpm-macros
|
||||||
BuildRequires: texinfo-tex tex(ecbx1095.tfm) tex(ecrm1095.tfm) tex(cm-super-t1.enc)
|
BuildRequires: texinfo-tex tex(ecbx1095.tfm) tex(ecrm1095.tfm) tex(cm-super-t1.enc)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -26,8 +27,8 @@ Libconfig is a simple library for processing structured configuration files.
|
|||||||
Summary: Files for %{name} development
|
Summary: Files for %{name} development
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
Provides: libconfig-static
|
Provides: libconfig-static = %{version}-%{release}
|
||||||
Obsoletes: libconfig-static
|
Obsoletes: libconfig-static < %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Files for %{name} development
|
Files for %{name} development
|
||||||
@ -42,22 +43,18 @@ cp %{SOURCE1} .
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
%delete_la
|
||||||
rm -rf %{buildroot}%{_infodir}/dir
|
rm -rf %{buildroot}%{_infodir}/dir
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
%make_build check
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS ChangeLog README
|
%doc AUTHORS ChangeLog README
|
||||||
%license COPYING.LIB
|
%license COPYING.LIB
|
||||||
%{_libdir}/%{name}*.so.*
|
%{_libdir}/%{name}*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc libconfig.pdf
|
%doc libconfig.pdf
|
||||||
%{_includedir}/%{name}*
|
%{_includedir}/%{name}*
|
||||||
%{_libdir}/cmake/%{name}*
|
%{_libdir}/cmake/%{name}*
|
||||||
@ -65,9 +62,11 @@ make check
|
|||||||
%{_libdir}/pkgconfig/%{name}*.pc
|
%{_libdir}/pkgconfig/%{name}*.pc
|
||||||
%{_infodir}/libconfig.info*
|
%{_infodir}/libconfig.info*
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
%{_libdir}/*.la
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 03 2024 Funda Wang <fundawang@yeah.net> - 1.7.3-4
|
||||||
|
- cleanup spec
|
||||||
|
|
||||||
* Wed Mar 27 2024 gengqihu <gengqihu2@h-partners.com> - 1.7.3-3
|
* Wed Mar 27 2024 gengqihu <gengqihu2@h-partners.com> - 1.7.3-3
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user