diff --git a/exiv2-0.27.5.tar.gz b/exiv2-0.27.6-Source.tar.gz similarity index 79% rename from exiv2-0.27.5.tar.gz rename to exiv2-0.27.6-Source.tar.gz index 0712df17c98e9e09ecc41b8781ee3dc046a92d6e..636e5ecc372616f3f9e7e055f7ca169c86723bc8 100644 Binary files a/exiv2-0.27.5.tar.gz and b/exiv2-0.27.6-Source.tar.gz differ diff --git a/exiv2.spec b/exiv2.spec index beb384d9fc7fd5af587761b981abc97eb2447a4c..9ec332908d628cf16686552934a3615af7196493 100644 --- a/exiv2.spec +++ b/exiv2.spec @@ -1,16 +1,15 @@ -%define anolis_release 3 +%define anolis_release 1 %undefine __cmake_in_source_build Summary: Exif and Iptc metadata manipulation library Name: exiv2 -Version: 0.27.5 -%global internal_ver %{version} +Version: 0.27.6 Release: %{anolis_release}%{dist} License: GPLv2+ URL: http://www.exiv2.org/ -Source0: http://exiv2.org/builds/%{name}-%{version}.tar.gz +Source0: https://github.com/Exiv2/exiv2/releases/download/v%{version}/%{name}-%{version}-Source.tar.gz BuildRequires: cmake BuildRequires: expat-devel @@ -57,7 +56,7 @@ BuildArch: noarch %prep -%autosetup -n %{name}-%{version} -p1 +%autosetup -n %{name}-%{version}-Source -p1 %build @@ -76,24 +75,14 @@ BuildArch: noarch %find_lang exiv2 --with-man - -%check -export PKG_CONFIG_PATH="%{buildroot}%{_libdir}/pkgconfig${PKG_CONFIG_PATH:+:}${PKG_CONFIG_PATH}" -test "$(pkg-config --modversion exiv2)" = "%{internal_ver}" -test "$(pkg-config --variable=libdir exiv2)" = "%{_libdir}" -test -x %{buildroot}%{_libdir}/libexiv2.so - - %files -f exiv2.lang -%license COPYING -%doc doc/ChangeLog - %{_bindir}/exiv2 %{_mandir}/man1/exiv2*.1* %files libs +%license COPYING %{_libdir}/libexiv2.so.27* -%{_libdir}/libexiv2.so.%{internal_ver} +%{_libdir}/libexiv2.so.%{version} %files devel %{_includedir}/exiv2/ @@ -107,6 +96,9 @@ test -x %{buildroot}%{_libdir}/libexiv2.so %changelog +* Fri Jan 20 2023 Funda Wang - 0.27.6-1 +- New version 0.27.6 + * Sun Jan 1 2023 Funda Wang - 0.27.5-3 - Bump release for upgrading from anolis 8