This commit is contained in:
Zdenek Dohnal 2016-03-22 15:46:40 +01:00
parent 338bb6682e
commit 7b7244ab66

View File

@ -1,13 +1,13 @@
%global prever rc3 %global prever rc3
Name: log4cplus Name: log4cplus
Version: 1.1.3 Version: 1.2.0
Release: 0.5%{?prever:.%{prever}}%{?dist} Release: 1%{?dist}
Summary: Logging Framework for C++ Summary: Logging Framework for C++
License: ASL 2.0 License: ASL 2.0
URL: http://sourceforge.net/projects/log4cplus URL: http://sourceforge.net/projects/log4cplus
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}%{?prever:-%{prever}}.tar.xz Source0: http://downloads.sourceforge.net/log4cplus/log4cplus-%{version}.tar.xz
Group: System Environment/Libraries Group: System Environment/Libraries
%description %description
@ -18,14 +18,14 @@ modeled after the Java log4j API.
%package devel %package devel
Summary: Development files for log4cplus C++ logging framework Summary: Development files for log4cplus C++ logging framework
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: log4cplus = %{version}-%{release}
%description devel %description devel
This package contains headers and libraries needed to develop applications This package contains headers and libraries needed to develop applications
using log4cplus logging framework. using log4cplus logging framework.
%prep %prep
%setup -q %{?prever:-n %{name}-%{version}-%{prever}} %setup -q -n log4cplus-%{version}
%build %build
export CFLAGS=$RPM_OPT_FLAGS export CFLAGS=$RPM_OPT_FLAGS
@ -43,8 +43,8 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/liblog4cplus.{a,la}
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%doc LICENSE README ChangeLog %doc LICENSE README.md ChangeLog
%{_libdir}/liblog4cplus*.so.9* %{_libdir}/liblog4cplus*.so.5*
%files devel %files devel
%dir %{_includedir}/log4cplus %dir %{_includedir}/log4cplus
@ -67,6 +67,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/liblog4cplus.{a,la}
%{_libdir}/pkgconfig/log4cplus.pc %{_libdir}/pkgconfig/log4cplus.pc
%changelog %changelog
* Fri Mar 18 2016 zdohnal <zdohnal@redhat.com> - 1.2.0-1
- 1.2.0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-0.5.rc3 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-0.5.rc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild