repair rpm build
This commit is contained in:
		| @@ -8,7 +8,7 @@ Source0: %{name}-%{version}.tar.gz | ||||
| BuildRequires: gnupg, subversion, automake, autoconf, doxygen, graphviz | ||||
| BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root | ||||
| %if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} | ||||
| BuildRequires: pkgconfig, redhat-lsb, qt5-qtwebkit-devel | ||||
| BuildRequires: pkgconfig, redhat-lsb | ||||
| %if ! ( 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} ) | ||||
| BuildRequires: mscgen | ||||
| BuildRequires: qt5-qtbase-devel, qt5-qttools, qt5-qtwebkit-devel | ||||
| @@ -47,7 +47,7 @@ rm -rf $RPM_BUILD_ROOT | ||||
|  | ||||
| %files | ||||
| %defattr(-,root,root,-) | ||||
| /usr/%_lib/lib@PACKAGE_NAME@.so.* | ||||
| /usr/%_lib/@PACKAGE_NAME@.so.* | ||||
| %doc | ||||
| /usr/share/doc/packages/@PACKAGE_NAME@/AUTHORS | ||||
| /usr/share/doc/packages/@PACKAGE_NAME@/COPYING | ||||
| @@ -68,9 +68,9 @@ This Package contains all files required for developement. | ||||
|  | ||||
| %files devel | ||||
| %defattr(-,root,root,-) | ||||
| /usr/%_lib/lib@PACKAGE_NAME@.so | ||||
| /usr/%_lib/lib@PACKAGE_NAME@.a | ||||
| /usr/%_lib/lib@PACKAGE_NAME@.la | ||||
| /usr/%_lib/@PACKAGE_NAME@.so | ||||
| /usr/%_lib/@PACKAGE_NAME@.a | ||||
| /usr/%_lib/@PACKAGE_NAME@.la | ||||
| /usr/%_lib/pkgconfig | ||||
| /usr/include/ | ||||
| %doc | ||||
|   | ||||
		Reference in New Issue
	
	Block a user