Hello community,
here is the log from the commit of package
golang-github-shurcool-sanitized_anchor_name for openSUSE:Factory checked in at
2017-03-24 02:16:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing
/work/SRC/openSUSE:Factory/golang-github-shurcool-sanitized_anchor_name (Old)
and
/work/SRC/openSUSE:Factory/.golang-github-shurcool-sanitized_anchor_name.new
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-shurcool-sanitized_anchor_name"
Fri Mar 24 02:16:04 2017 rev:4 rq:477182 version:0.0.0+git20151027.10ef21a
Changes:
--------
---
/work/SRC/openSUSE:Factory/golang-github-shurcool-sanitized_anchor_name/golang-github-shurcool-sanitized_anchor_name.changes
2016-12-03 18:26:38.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.golang-github-shurcool-sanitized_anchor_name.new/golang-github-shurcool-sanitized_anchor_name.changes
2017-03-24 02:16:05.383307443 +0100
@@ -1,0 +2,25 @@
+Fri Dec 2 09:20:59 UTC 2016 - [email protected]
+
+- Recursively test all packages
+
+-------------------------------------------------------------------
+Fri Dec 2 09:20:59 UTC 2016 - [email protected]
+
+- Added rpmlintrc for common golang linting
+
+-------------------------------------------------------------------
+Fri Dec 2 09:20:59 UTC 2016 - [email protected]
+
+- Always call gobuild and goinstall
+
+-------------------------------------------------------------------
+Fri Dec 2 09:20:59 UTC 2016 - [email protected]
+
+- Using the new golang-packaging now
+
+-------------------------------------------------------------------
+Fri Dec 2 09:20:59 UTC 2016 - [email protected]
+
+- Refactoed spec with a new unified layout
+
+-------------------------------------------------------------------
New:
----
rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-shurcool-sanitized_anchor_name.spec ++++++
--- /var/tmp/diff_new_pack.Xmx7Du/_old 2017-03-24 02:16:05.987221994 +0100
+++ /var/tmp/diff_new_pack.Xmx7Du/_new 2017-03-24 02:16:05.991221428 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package golang-github-shurcool-sanitized_anchor_name
+# spec file for package golang
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
@@ -16,49 +16,53 @@
#
-Name: golang-github-shurcool-sanitized_anchor_name
+%global provider github
+%global provider_tld com
+%global project shurcool
+%global repo sanitized_anchor_name
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider}.%{provider_tld}/shurcooL/%{repo}
+
+Name: golang-%{provider}-%{project}-%{repo}
Version: 0.0.0+git20151027.10ef21a
Release: 0
Summary: Go function to create sanitized anchor names
License: MIT
Group: Development/Languages/Golang
-Url: https://github.com/shurcooL/sanitized_anchor_name
-Source: sanitized_anchor_name-%{version}.tar.xz
+Url: https://%{provider_prefix}
+Source0: %{repo}-%{version}.tar.xz
+Source1: rpmlintrc
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
BuildRequires: golang-packaging
BuildRequires: xz
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%{go_nostrip}
%{go_provides}
%description
Package sanitized_anchor_name provides a func to create sanitized anchor names.
-
-Its logic can be reused by multiple packages to create interoperable anchor
names and links to those anchors.
-
-At this time, it does not try to ensure that generated anchor names are
unique, that responsibility falls on the caller.
-
-%gosrc_package
+Its logic can be reused by multiple packages to create interoperable anchor
+names and links to those anchors. At this time, it does not try to ensure that
+generated anchor names are unique, that responsibility falls on the caller.
%prep
-%setup -q -n sanitized_anchor_name-%{version}
+%setup -q -n %{repo}-%{version}
%build
-%{goprep} github.com/shurcooL/sanitized_anchor_name
-%{gobuild}
+%goprep %{import_path}
+%gobuild ...
%install
-%{goinstall}
-%{gosrc}
-%{go_filelist}
+%goinstall
+%gosrc
+%gofilelist
%check
-%{gotest} github.com/shurcooL/sanitized_anchor_name
+%gotest %{import_path}...
%files -f file.lst
%defattr(-,root,root,-)
-%doc README.md
-
-%files source
-%defattr(-,root,root,-)
-%{go_contribsrcdir}/*
+%doc README.md LICENSE
%changelog
++++++ rpmlintrc ++++++
# We are preventing the stripping to keep backtraces intact
addFilter("unstripped-binary-or-object")
# Golang doesn't support dynamic linking yet in a proper way
addFilter("statically-linked-binary")
# We are aware of that but shorter names are not possible
addFilter("filename-too-long-for-joliet")