]> git.pld-linux.org Git - packages/librepo.git/blobdiff - librepo.spec
- unconditional noarch subpackages
[packages/librepo.git] / librepo.spec
index 253e9006facd88dfbed19114e42831ce77f47492..3dff6bd0929aa9870a5f1d10fec3e687f6d941f1 100644 (file)
@@ -7,21 +7,19 @@
 Summary:       Library for downloading Linux repository metadata and packages
 Summary(pl.UTF-8):     Biblioteka do pobierania metadanych repozytoriów roaz pakietów dla Linuksa
 Name:          librepo
-Version:       1.7.18
-Release:       1
+Version:       1.8.1
+Release:       5
 License:       GPL v2+
 Group:         Libraries
 #Source0Download: https://github.com/rpm-software-management/librepo/releases
-Source0:       https://github.com/rpm-software-management/librepo/archive/%{name}-%{version}.tar.gz
-# Source0-md5: 4b28cfad651110b4b033825dc8f8b7cf
-#Source0:      http://pkgs.fedoraproject.org/repo/pkgs/librepo/%{name}-%{gitrev}.tar.xz/904628ef27b512e7aed07a6d41613c87/librepo-%{gitrev}.tar.xz
+Source0:       https://github.com/rpm-software-management/librepo/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 01fe130eb421580d62e97e4991e94df7
 Patch0:                %{name}-link.patch
-Patch1:                python-install-dir.patch
+Patch1:                %{name}-attr.patch
 Patch2:                sphinx_executable.patch
 URL:           http://rpm-software-management.github.io/librepo/
-BuildRequires: attr-devel
 BuildRequires: check-devel
-BuildRequires: cmake >= 2.6
+BuildRequires: cmake >= 2.8.5
 BuildRequires: curl-devel
 %{?with_apidocs:BuildRequires: doxygen}
 BuildRequires: expat-devel >= 1.95
@@ -70,9 +68,7 @@ Pliki nagłówkowe biblioteki librepo.
 Summary:       API documentation for librepo library
 Summary(pl.UTF-8):     Dokumentacja API biblioteki librepo
 Group:         Documentation
-%if "%{_rpmversion}" >= "5"
 BuildArch:     noarch
-%endif
 
 %description apidocs
 API documentation for librepo library.
@@ -105,7 +101,7 @@ Python 3 binding for librepo library.
 Wiązanie Pythona 3 do biblioteki librepo.
 
 %prep
-%setup -q -n %{name}-%{name}-%{version}
+%setup -q
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
This page took 0.068622 seconds and 4 git commands to generate.