#1 feat: upgrade to match upstream version
Closed 3 years ago by kkofler. Opened 3 years ago by marcdeop.
rpms/ marcdeop/attica syncToUpstreamVersion  into  master

file modified
+23 -12
@@ -1,12 +1,12 @@ 

- 

+ %global internalVersion 0.4.2

  Name:           attica

- Version:        0.4.2

- Release:        19%{?dist}

+ Version:        5.70.0

+ Release:        1%{?dist}

  Summary:        Implementation of the Open Collaboration Services API

  

  License:        LGPLv2+

  URL:            http://www.kde.org

- Source0:        http://download.kde.org/stable/attica/attica-%{version}.tar.bz2

+ Source0:        https://invent.kde.org/frameworks/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.gz

  

  BuildRequires:  cmake >= 2.8

  BuildRequires:  gcc-c++
@@ -14,7 +14,7 @@ 

  

  %description

  Attica is a Qt library that implements the Open Collaboration Services

- API version 1.4.

+ API version 1.6.

  

  %package        devel

  Summary:        Development files for %{name}
@@ -24,7 +24,7 @@ 

  

  

  %prep

- %setup -q

+ %setup -q -n %{name}-v%{version}

  

  

  %build
@@ -44,24 +44,35 @@ 

  %check

  # verify pkg-config sanitry/version

  export PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig

- test "$(pkg-config --modversion libattica)" = "%{version}"

+ test "$(pkg-config --modversion libattica)" = "%{internalVersion}"

  

  

  %ldconfig_scriptlets

  

  %files

- %doc AUTHORS README

+ %doc AUTHORS

  %doc ChangeLog

  %license COPYING

- %{_libdir}/libattica.so.0.4*

+ %{_libdir}/libKF5Attica.so.%{version}

+ %{_libdir}/libKF5Attica.so.5

+ %{_datadir}/qlogging-categories5/attica.categories

  

  %files devel

- %{_includedir}/attica/

- %{_libdir}/libattica.so

- %{_libdir}/pkgconfig/libattica.pc

+ %{_includedir}/KF5/attica_version.h

+ %{_includedir}/KF5/Attica

+ %{_libdir}/cmake/KF5Attica/KF5AtticaConfig.cmake

+ %{_libdir}/cmake/KF5Attica/KF5AtticaConfigVersion.cmake

+ %{_libdir}/cmake/KF5Attica/KF5AtticaTargets-noconfig.cmake

+ %{_libdir}/cmake/KF5Attica/KF5AtticaTargets.cmake

+ %{_libdir}/libKF5Attica.so

+ %{_libdir}/pkgconfig/libKF5Attica.pc

+ %{_libdir}/qt5/mkspecs/modules/qt_Attica.pri

  

  

  %changelog

+ * Sun Jun 28 2020 Marc Deop marc@marcdeop.com - 5.70.0-1

+ - Upgrade to match upstream

+ 

  * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-19

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

  

Upgrade to a version matching upstream.

Pull-Request has been closed by kkofler

3 years ago