Change actually numbers of version and release to macros
This commit is contained in:
parent
929e7f188e
commit
53ffdf9c9c
13
libpq.spec
13
libpq.spec
@ -1,6 +1,6 @@
|
|||||||
Name: libpq
|
Name: libpq
|
||||||
Version: 11.2
|
Version: 11.2
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: A share library of PostgreSQL
|
Summary: A share library of PostgreSQL
|
||||||
License: PostgreSQL
|
License: PostgreSQL
|
||||||
Url: http://www.postgresql.org/
|
Url: http://www.postgresql.org/
|
||||||
@ -11,7 +11,7 @@ Patch0003: libpq-10.4-symbol-versioning.patch
|
|||||||
BuildRequires: gcc glibc-devel bison flex gawk zlib-devel openssl-devel
|
BuildRequires: gcc glibc-devel bison flex gawk zlib-devel openssl-devel
|
||||||
BuildRequires: krb5-devel openldap-devel gettext multilib-rpm-config
|
BuildRequires: krb5-devel openldap-devel gettext multilib-rpm-config
|
||||||
Obsoletes: postgresql-libs < 11
|
Obsoletes: postgresql-libs < 11
|
||||||
Provides: postgresql-libs = 11.2-3
|
Provides: postgresql-libs = %{version}-%{release}
|
||||||
%description
|
%description
|
||||||
PostgreSQL is a powerful, open source object-relational database system
|
PostgreSQL is a powerful, open source object-relational database system
|
||||||
that uses and extends the SQL language combined with many features that
|
that uses and extends the SQL language combined with many features that
|
||||||
@ -21,13 +21,13 @@ or interface.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for building PostgreSQL client tools
|
Summary: Development files for building PostgreSQL client tools
|
||||||
Requires: libpq%{?_isa} = 11.2-3%{?dist}
|
Requires: libpq%{?_isa} = %{version}-%{release}
|
||||||
Provides: postgresql-devel = 11.2-3
|
Provides: postgresql-devel = %{version}-%{release}
|
||||||
Obsoletes: postgresql-devel < 11
|
Obsoletes: postgresql-devel < 11
|
||||||
%description devel
|
%description devel
|
||||||
The development package of libpq
|
The development package of libpq
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n postgresql-11.2 -p1
|
%autosetup -n postgresql-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export SYMBOL_VERSION_PREFIX=RHPG_
|
export SYMBOL_VERSION_PREFIX=RHPG_
|
||||||
@ -70,6 +70,9 @@ cat pg_config-11.lang >>libpq-devel.lst
|
|||||||
%_libdir/pkgconfig/libpq.pc
|
%_libdir/pkgconfig/libpq.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 2 2020 chengzihan <chengzihan2@huawei.com> - 11.2-5
|
||||||
|
- Change actually numbers of version and release to macros
|
||||||
|
|
||||||
* Wed Aug 26 2020 chengzihan <chengzihan2@huawei.com> - 11.2-4
|
* Wed Aug 26 2020 chengzihan <chengzihan2@huawei.com> - 11.2-4
|
||||||
- Fix installing problem of libpq-devel
|
- Fix installing problem of libpq-devel
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user