[Bug 471829] Review Request: log4cxx - Log4cxx - a port to C++ of the Log4j project

bugzilla at redhat.com bugzilla at redhat.com
Mon Dec 1 16:25:58 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=471829





--- Comment #9 from Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp>  2008-12-01 11:25:57 EDT ---
Well,
- Now the directory %{_defaultdocdir}/%{name}-%{version}/ is not owned
  by any packages, which must be owned by log4cxx package.

! By the way, instead of moving files to
$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version},
  the following method is simpler.

------------------------------------------------------------------
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/html .

%files
%defattr(-,root,root,-)
%{_libdir}/liblog4cxx.so.10.0.0
%{_libdir}/liblog4cxx.so.10

%doc NOTICE
%doc LICENSE
%doc KEYS
....

%files devel
%defattr(-,root,root,-)
....
....
%doc html/
------------------------------------------------------------

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list