- Fix packaging

- rename cfengine-devel to libpromises-devel
  - rename libpromises1 to libpromises3

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=63
This commit is contained in:
Klaus Kämpf 2013-12-11 07:28:27 +00:00 committed by Git OBS Bridge
parent 1f52b53ae0
commit 62fb7aa3c5
2 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Dec 11 07:25:59 UTC 2013 - kkaempf@suse.com
- Fix packaging
- rename cfengine-devel to libpromises-devel
- rename libpromises1 to libpromises3
-------------------------------------------------------------------
Tue Dec 10 13:04:00 UTC 2013 - kkaempf@suse.com

View File

@ -18,7 +18,7 @@
Name: cfengine
%define libname libpromises
%define libsoname %{libname}1
%define libsoname %{libname}3
# Yes, its not FHS conformant but in sync with cfengine documentation
# reported upstream as https://cfengine.com/dev/issues/1896
@ -121,17 +121,19 @@ Requires: glibc
%description -n %{libsoname}
This package contains the shared libpromises (cfengine) library.
%package devel
Summary: Development package for cfengine
%package -n %{libname}-devel
Summary: Development package for libpromises
Group: Development/Libraries/C and C++
Provides: %{name}-devel < %{version}
Obsoletes: %{name}-devel < %{version}
Requires: %{libsoname} = %{version}
Requires: glibc-devel
%description devel
%description -n %{libname}-devel
A high-speed character set detection library
This package contains the files needed to compile programs that use the
libguess library.
libpromises library.
%package doc
Summary: CFEngine automates large-scale IT computing infrastructure - documentation
@ -411,7 +413,7 @@ fi
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/%{libname}.so.*
%files devel
%files -n %{libname}-devel
%defattr(-,root,root)
%{_libdir}/%{name}/%{libname}.so