diff --git a/.gitignore b/.gitignore index 0b4a8b7..dc22eda 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /e72c03c60bfcb56bbb5d259342021d9cb3581dac.tar.gz +/1.0.0.tar.gz diff --git a/erlang-p1_pgsql.spec b/erlang-p1_pgsql.spec index e5bac7d..b9d5d72 100644 --- a/erlang-p1_pgsql.spec +++ b/erlang-p1_pgsql.spec @@ -1,21 +1,18 @@ %global srcname p1_pgsql # Erlang packages do not provide debug subpackages. %global debug_package %{nil} -%global commit_date 20150428 -%global commit_hash e72c03c60bfcb56bbb5d259342021d9cb3581dac -%global short_commit_hash e72c03c6 Name: erlang-%{srcname} -Version: 0 -Release: 15.%{commit_date}git%{short_commit_hash}%{?dist} +Version: 1.0.0 +Release: 1%{?dist} Provides: erlang-pgsql = %{version}-%{release} Obsoletes: erlang-pgsql <= 0-15 Summary: Pure Erlang PostgreSQL driver License: ERPL -URL: https://github.com/processone/pgsql/ -Source0: https://github.com/processone/pgsql/archive/%{commit_hash}.tar.gz +URL: https://github.com/processone/p1_pgsql/ +Source0: https://github.com/processone/p1_pgsql/archive/%{version}.tar.gz BuildRequires: erlang BuildRequires: erlang-rebar @@ -29,7 +26,7 @@ This is an Erlang PostgreSQL driver, used by ejabberd. %prep -%autosetup -n pgsql-%{commit_hash} +%autosetup -n p1_pgsql-%{version} %build @@ -48,6 +45,10 @@ install -pm644 ebin/* $RPM_BUILD_ROOT%{_erllibdir}/%{srcname}-%{version}/ebin %changelog +* Wed Feb 17 2016 Randy Barlow - 1.0.0-1 +- Update to 1.0.0. +- Update the URL and Source0 for the new upstream repository. + * Tue Jan 05 2016 Randy Barlow - 0-15.20150428gite72c03c6 - Obsolete erlang-pgsql, which is the same package but installed to the wrong location for ejabberd. - Remove the noarch, which was causing this package to get installed to the wrong location. diff --git a/sources b/sources index 446aa3a..4d31584 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -88c03ca6b5e52fd96ad36b5e7932be85 e72c03c60bfcb56bbb5d259342021d9cb3581dac.tar.gz +4c08ca7bdd9213f91927969a9a44e232 1.0.0.tar.gz