Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create SRPMs / support build systems #36

Closed
Olf0 opened this issue Sep 15, 2019 · 1 comment
Closed

Create SRPMs / support build systems #36

Olf0 opened this issue Sep 15, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request fixed Already fixed in SCM

Comments

@Olf0
Copy link
Owner

Olf0 commented Sep 15, 2019

See the first try to adapt to obs with subsequent discussion and a separate discussion, the first one spawned / experimental commit a31be78.

SRPM is now provided, see this comment for details.
But I still don't know / understand, if this (an SRPM) resolves the original issue (integration into build systems, e.g. obs).

P.S.: Building SRPMs works now, per commit 41d29a4.
An SRPM can be downloaded e.g. per curl -sSLO https://github.com/Olf0/%{name}/releases/download/%{version}-%{release}/%{name}-%{version}-%{release}.src.rpm, while the original TAR.GZ source archive can be downloaded e.g. per curl -sSLo %{name}-%{version}-%{release}.tar.gz https://github.com/Olf0/%{name}/archive/%{version}-%{release}.tar.gz (that is equivalent to curl -sSLo %{source} %{source1}, when SOURCE1 was still set, i.e. before aforementioned commit 41d29a4).

@Olf0 Olf0 added enhancement New feature or request help wanted Extra attention is needed need info Further information needed to proceed fixed Already fixed in SCM labels Sep 15, 2019
@Olf0 Olf0 self-assigned this Sep 15, 2019
@Olf0 Olf0 closed this as completed Sep 15, 2019
Olf0 referenced this issue in r0kk3rz/sfos-upgrade Sep 16, 2019
Olf0 pushed a commit that referenced this issue Sep 20, 2019
* fixes #36

- c.f https://fedoraproject.org/wiki/Packaging:SourceURL#Git_Tags
- builds fine on my local system
- source URL tested with curl -O -L
- not yet tried on OBS, in a train at the moment

* Update sfos-upgrade.spec
Olf0 added a commit that referenced this issue Sep 25, 2019
* Update sfos-upgrade.spec

* fixes #36 (#37)

* fixes #36

- c.f https://fedoraproject.org/wiki/Packaging:SourceURL#Git_Tags
- builds fine on my local system
- source URL tested with curl -O -L
- not yet tried on OBS, in a train at the moment

* Update sfos-upgrade.spec
@Olf0
Copy link
Owner Author

Olf0 commented Sep 29, 2019

A canonical web-link to the release TARballs (tar.gz archives of released versions) can be constructed by setting adequate names for the git-tags to be used as hinted in the Fedora RPM wiki and pointed out by @pcfe in PR #37.
Luckily proper tag names were set for all releases, thus the canonical TARball-link can be used e.g. per curl -sSLO https://github.com/Olf0/%{name}/archive/%{version}-%{release}/%{name}-%{version}-%{release}.tar.gz.

@Olf0 Olf0 removed help wanted Extra attention is needed need info Further information needed to proceed labels Dec 28, 2019
@Olf0 Olf0 changed the title SRPM / build systems, e.g. obs Create SRPM / support build systems Dec 28, 2019
@Olf0 Olf0 changed the title Create SRPM / support build systems Create SRPMs / support build systems Dec 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed Already fixed in SCM
Projects
None yet
Development

No branches or pull requests

1 participant