diff --git a/uriparser.spec b/uriparser.spec index 9b95d19680d36a967aa21af1977f9324df81e000..a106e4f105f23e0fa271f9619b720fd6d411db5d 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -1,8 +1,8 @@ Name: uriparser Version: 0.9.8 -Release: 1 +Release: 2 Summary: A strictly RFC 3986 compliant URI parsing and handling library written in C89 -License: BSD +License: BSD-3-Clause URL: https://uriparser.github.io/ Source0: https://github.com/uriparser/uriparser/releases/download/uriparser-%{version}/uriparser-%{version}.tar.bz2 @@ -17,6 +17,7 @@ and 3rd-party wrappers. uriparser is packaged in major distributions. %package devel Summary: Files for uriparser development Requires: uriparser = %{version}-%{release} +Conflicts: uriparser < 0.9.8-2 %description devel The package contains libraries and header files for developing applications that use uriparser. @@ -36,30 +37,33 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %build %cmake -%make_build +%cmake_build %install -%make_install +%cmake_install %check -LD_LIBRARY_PATH=".libs" make check - -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ctest %files %doc THANKS AUTHORS ChangeLog COPYING %{_bindir}/uriparse -%{_libdir}/{liburiparser.so.1*,cmake/uriparser-%{version}/} +%{_libdir}/liburiparser.so.1 +%{_libdir}/liburiparser.so.1.* %files devel -%{_includedir}/uriparser/ -%{_libdir}/{liburiparser.so,pkgconfig/liburiparser.pc} +%{_includedir}/uriparser +%{_libdir}/*.so +%{_libdir}/cmake/%{name}-%{version} +%{_libdir}/pkgconfig/lib%{name}.pc %files help %doc %{_docdir}/uriparser/html %changelog +* Wed Nov 06 2024 Funda Wang - 0.9.8-2 +- adopt to new cmake macro + * Fri Aug 2 2024 zhangxingrong - 0.9.8-1 - update to version 0.9.8 diff --git a/uriparser.yaml b/uriparser.yaml index 86bf7b6293464600965792db5bb205720d1c7a33..be7f6861ee0cf6cb6a4e52d9adf36bc8cad38620 100644 --- a/uriparser.yaml +++ b/uriparser.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: uriparser/uriparser tag_prefix: "^uriparser-" -seperator: "." +separator: "."