[libecb] CVS snapshot taken on 2015-02-18

Petr Pisar ppisar at fedoraproject.org
Wed Feb 18 11:40:40 UTC 2015


commit 1d6cbab46c28cb2406b22e73963b0191b057eba8
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Feb 18 12:36:35 2015 +0100

    CVS snapshot taken on 2015-02-18

 .gitignore  |    1 +
 libecb.spec |   34 ++++++++++++++++++++++++++--------
 sources     |    2 +-
 3 files changed, 28 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 566be90..06e6c11 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /libecb-20121022.tar.xz
 /libecb-20130509.tar.xz
 /libecb-20141029.tar.xz
+/libecb-20150218.tar.xz
diff --git a/libecb.spec b/libecb.spec
index 57dc6ce..45a3f81 100644
--- a/libecb.spec
+++ b/libecb.spec
@@ -1,5 +1,7 @@
-%global snapshot 20141029
-Name:       libecb
+%global snapshot 20150218
+# Do not create debuginfo sub-package because there is no binary executable
+%global debug_package %{nil}
+Name:       libecb-devel
 Version:    0.%{snapshot}
 Release:    1%{?dist}
 Summary:    Compiler built-ins
@@ -7,9 +9,16 @@ Group:      Development/Libraries
 License:    BSD or GPLv2+
 URL:        http://software.schmorp.de/pkg/libecb
 # Snapshot from CVS :pserver:anonymous at cvs.schmorp.de/schmorpforge libecb 
-Source0:    %{name}-%{snapshot}.tar.xz
-BuildArch:  noarch
-Requires:   glibc-headers
+Source0:    libecb-%{snapshot}.tar.xz
+BuildRequires:  perl-podlators
+# Packaging guidelines require header-only packages:
+# to be architecture-specific, to deliver headers in -devel package, to
+# provide -static symbol for reverse build-requires.
+Requires:   glibc-headers%{?_isa}
+Provides:   libecb-static = %{?epoch:%{epoch}:}%{version}-%{release}
+# Replace libecb package:
+Provides:   libecb = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes:  libecb < 0.20150218
 
 %description
 This project delivers you many GCC built-ins, attributes and a number of
@@ -17,20 +26,29 @@ generally useful low-level functions, such as popcount, expect, prefetch,
 noinline, assume, unreachable and so on.
 
 %prep
-%setup -q -n %{name}-%{snapshot}
+%setup -q -n libecb-%{snapshot}
 
 %build
-# Keep empty %%build section for possible RPM hooks
+pod2man ecb.pod > ecb.3
 
 %install
 install -d %{buildroot}%{_includedir}
 install -m 0644 -t %{buildroot}%{_includedir} *.h 
+install -d %{buildroot}%{_mandir}/man3
+install -m 0644 -t %{buildroot}%{_mandir}/man3 *.3
 
 %files
-%doc Changes ecb.pod LICENSE README
+%license LICENSE
+%doc Changes README
 %{_includedir}/*
+%{_mandir}/man3/*
 
 %changelog
+* Wed Feb 18 2015 Petr Pisar <ppisar at redhat.com> - 0.20150218-1
+- CVS snapshot taken on 2015-02-18 (C11 compliance)
+- Replace libecb package with libecb-devel, users should build-require
+  libecb-static
+
 * Wed Oct 29 2014 Petr Pisar <ppisar at redhat.com> - 0.20141029-1
 - CVS snapshot taken on 2014-10-29
 - License changed from (BSD) to (BSD or GPLv2+)
diff --git a/sources b/sources
index 219840f..b41acf8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b1e268d2e3a55ecfbfb2c00f6968cd6c  libecb-20141029.tar.xz
+bb57c1a1373c8ad8700901b689e69de7  libecb-20150218.tar.xz


More information about the scm-commits mailing list