Compare commits
No commits in common. "rawhide" and "epel7" have entirely different histories.
5 changed files with 20 additions and 105 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1 @@
|
|||
/withlock-0.3.tar.gz
|
||||
/withlock-0.5.tar.gz
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
755f11b4b4ac0fdcc21c9fc0602f2d8c withlock-0.5.tar.gz
|
||||
a7d459b003f9d2a567aa0863bcb04992 withlock-0.3.tar.gz
|
||||
|
|
|
|||
8
withlock-0.3-python2.patch
Normal file
8
withlock-0.3-python2.patch
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
--- withlock-0.3/withlock 2015-04-22 18:02:03.498607865 -0700
|
||||
+++ withlock-0.3/withlock.new 2015-04-22 18:02:14.485760910 -0700
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/env python2
|
||||
|
||||
# Copyright 2009-2014 Peter Poeml
|
||||
#
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
--- withlock-0.5/withlock 2015-04-22 18:02:03.498607865 -0700
|
||||
+++ withlock-0.5/withlock.new 2015-04-22 18:02:14.485760910 -0700
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/env python3
|
||||
|
||||
# Copyright 2009-2016 Peter Poeml
|
||||
#
|
||||
106
withlock.spec
106
withlock.spec
|
|
@ -1,21 +1,16 @@
|
|||
%global github_owner poeml
|
||||
%global github_name withlock
|
||||
%global github_commit 6ffda60e1c91c591ebab41e18a4c5f1e58980f4e
|
||||
|
||||
Name: withlock
|
||||
Version: 0.5
|
||||
Release: 23%{?dist}
|
||||
Version: 0.3
|
||||
Release: 1%{?dist}
|
||||
Summary: Locking wrapper script
|
||||
|
||||
# Automatically converted from old format: ASL 2.0 - review is highly recommended.
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/%{github_owner}/%{github_name}
|
||||
Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{github_name}-%{version}.tar.gz
|
||||
# Specify /usr/bin/python3 to ensure use of py3
|
||||
Patch0: withlock-0.5-python3.patch
|
||||
Group: Applications/System
|
||||
License: ASL 2.0
|
||||
URL: https://code.google.com/p/withlock/
|
||||
Source0: http://mirrorbrain.org/files/releases/%{name}-%{version}.tar.gz
|
||||
# Use /usr/bin/python2 not /usr/bin/python, it's not agnostic
|
||||
Patch0: withlock-0.3-python2.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: gzip
|
||||
Requires: python3
|
||||
Requires: python2
|
||||
|
||||
%description
|
||||
withlock is a locking wrapper script to make sure that some program
|
||||
|
|
@ -28,7 +23,8 @@ makes the wrapper safe and easy to use, and much better than
|
|||
implementing half-hearted locking within scripts.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{github_name}-%{github_commit}
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
# No build
|
||||
|
|
@ -36,91 +32,11 @@ implementing half-hearted locking within scripts.
|
|||
%install
|
||||
rm -rf %{buildroot}
|
||||
install -d %{buildroot}%{_bindir}
|
||||
install -d %{buildroot}%{_mandir}/man1
|
||||
install -m 0755 withlock %{buildroot}%{_bindir}
|
||||
install -m 0644 withlock.1 %{buildroot}%{_mandir}/man1
|
||||
gzip %{buildroot}%{_mandir}/man1/withlock.1
|
||||
|
||||
%files
|
||||
%license LICENSE-2.0.txt
|
||||
%doc README.md
|
||||
%{_bindir}/withlock
|
||||
%{_mandir}/man1/withlock.1*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Wed Jul 24 2024 Miroslav Suchý <msuchy@redhat.com> - 0.5-19
|
||||
- convert license to SPDX
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.5-2
|
||||
- Rebuild for Python 3.6
|
||||
|
||||
* Fri May 20 2016 Adam Williamson <awilliam@redhat.com> - 0.5-1
|
||||
- update to 0.5
|
||||
- switch to python3
|
||||
- package license, README and manpage
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Apr 22 2015 Adam Williamson <awilliam@redhat.com> - 0.3-1
|
||||
- initial package
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue