Packaging fixes

- don't build the base package
 - remove a dot from the release tag
 - corrected -devel subpackage description
This commit is contained in:
Daniel Kopecek 2015-04-30 11:42:21 +02:00
parent 97621a50a1
commit 24875e29db

View File

@ -6,7 +6,7 @@
Name: spdlog
Version: 0
Release: 3.%{gitdate}git.%{shorttag}%{?dist}
Release: 4.%{gitdate}git%{shorttag}%{?dist}
Summary: Super fast C++ logging library
Group: Development/Libraries
License: MIT
@ -21,12 +21,12 @@ logging library available at Github.
Summary: Development files for %{name}
Group: Development/Libraries
Provides: %{name}-static = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Provides: %{name} = %{version}-%{release}
Requires: libstdc++-devel
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
The %{name}-devel package contains C++ header files for developing
applications that use %{name}.
%prep
%setup -q -n %{user}-%{name}-%{shorttag}
@ -39,16 +39,17 @@ find ./example -name '.gitignore' -exec rm {} \;
mkdir -p %{buildroot}%{_includedir}
cp -pvR include/spdlog %{buildroot}%{_includedir}
%files
%doc README.md
%license LICENSE
%files devel
%doc example/
%dir %{_includedir}/spdlog
%{_includedir}/spdlog/*
%doc README.md example/
%license LICENSE
%{_includedir}/spdlog/
%changelog
* Thu Apr 30 2015 Daniel Kopecek <dkopecek@redhat.com> - 0-4.20150410git211ce99
- don't build the base package
- remove a dot from the release tag
- corrected -devel subpackage description
* Mon Apr 20 2015 Daniel Kopecek <dkopecek@redhat.com> - 0-3.20150410git.211ce99
- use the -p option when copying the header files